首页 > 代码库 > Android零碎知识(一)
Android零碎知识(一)
public abstract Resources getResources ()
Return a Resources instance for your application‘s package.
BitmapFactoryextends Objectjava.lang.Object ? android.graphics.BitmapFactory Class Overview--------------------------------------------------------------------------------Creates Bitmap objects from various sources, including files, streams, and byte-arrays.
public void translate (float dx, float dy) Added in API level 1Preconcat the current matrix with the specified translationWhen working with matrices, the word concatenation refers to multiplication.Since matrix multiplication is not commutative, there is a separate word for backwards multiplication.Pre-concatenating a to b means setting a = b × a. (As opposed to a = a × b, which will give a different matrix)The canvas maintains a matrix and the canvas is manipulated by methods which are well defined in OpenGL
Android零碎知识(一)
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。