AndBase开发框架  1.6
 全部  命名空间 文件 函数 变量 枚举值 
Public 成员函数 | 静态 Public 属性 | Private 属性 | 所有成员列表
com.ab.view.cropimage.RotateBitmap类 参考

Public 成员函数

 RotateBitmap (Bitmap bitmap)
 
 RotateBitmap (Bitmap bitmap, int rotation)
 
void setRotation (int rotation)
 
int getRotation ()
 
Bitmap getBitmap ()
 
void setBitmap (Bitmap bitmap)
 
Matrix getRotateMatrix ()
 
boolean isOrientationChanged ()
 
int getHeight ()
 
int getWidth ()
 
void recycle ()
 

静态 Public 属性

static final String TAG = "RotateBitmap"
 

Private 属性

Bitmap mBitmap
 
int mRotation
 

详细描述

The Class RotateBitmap.

构造及析构函数说明

com.ab.view.cropimage.RotateBitmap.RotateBitmap ( Bitmap  bitmap)
inline

Instantiates a new rotate bitmap.

参数
bitmapthe bitmap
com.ab.view.cropimage.RotateBitmap.RotateBitmap ( Bitmap  bitmap,
int  rotation 
)
inline

Instantiates a new rotate bitmap.

参数
bitmapthe bitmap
rotationthe rotation

成员函数说明

Bitmap com.ab.view.cropimage.RotateBitmap.getBitmap ( )
inline

Gets the bitmap.

返回
the bitmap
int com.ab.view.cropimage.RotateBitmap.getHeight ( )
inline

Gets the height.

返回
the height
Matrix com.ab.view.cropimage.RotateBitmap.getRotateMatrix ( )
inline

Gets the rotate matrix.

返回
the rotate matrix
int com.ab.view.cropimage.RotateBitmap.getRotation ( )
inline

Gets the rotation.

返回
the rotation
int com.ab.view.cropimage.RotateBitmap.getWidth ( )
inline

Gets the width.

返回
the width
boolean com.ab.view.cropimage.RotateBitmap.isOrientationChanged ( )
inline

Checks if is orientation changed.

返回
true, if is orientation changed
void com.ab.view.cropimage.RotateBitmap.recycle ( )
inline

Recycle.

void com.ab.view.cropimage.RotateBitmap.setBitmap ( Bitmap  bitmap)
inline

Sets the bitmap.

参数
bitmapthe new bitmap
void com.ab.view.cropimage.RotateBitmap.setRotation ( int  rotation)
inline

Sets the rotation.

参数
rotationthe new rotation

类成员变量说明

Bitmap com.ab.view.cropimage.RotateBitmap.mBitmap
private

The m bitmap.

int com.ab.view.cropimage.RotateBitmap.mRotation
private

The m rotation.

final String com.ab.view.cropimage.RotateBitmap.TAG = "RotateBitmap"
static

The Constant TAG.


该类的文档由以下文件生成: