摘要:
一、相关概念1、Drawable就是一个可画的对象,其可能是一张位图(BitmapDrawable),也可能是一个图形(ShapeDrawable),还有可能是一个图层(LayerDrawable),我们根据画图的需求,创建相应的可画对象2、Canvas画布,绘图的目的区域,用于绘图3、Bitmap位图,用于图的处理4、Matrix矩阵二、Bitmap1、从资源中获取BitmapView Code Resources res = getResources(); Bitmap bmp = BitmapFactory.decodeResource(res, R.dra... 阅读全文
posted @ 2012-01-18 15:52
SaiWu
阅读(332)
评论(0)
推荐(0)

浙公网安备 33010602011771号