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

class  BackgroundJob
 

Public 成员函数

 CropImage (Context context, CropImageView imageView, Handler handler)
 
void crop (Bitmap bm)
 
void startRotate (float d)
 
Bitmap cropAndSave ()
 
Bitmap cropAndSave (Bitmap bm)
 
void cropCancel ()
 
String saveToLocal (Bitmap bitmap)
 

Public 属性

File FILE_LOCAL = null
 
boolean mWaitingToPick
 
boolean mSaving
 
HighlightView mCrop
 

包属性

Runnable mRunFaceDetection
 

Private 成员函数

void startFaceDetection ()
 
Bitmap onSaveClicked (Bitmap bm)
 

Private 属性

Context mContext
 
Handler mHandler
 
CropImageView mImageView
 
Bitmap mBitmap
 

详细描述

裁剪处理.

构造及析构函数说明

com.ab.view.cropimage.CropImage.CropImage ( Context  context,
CropImageView  imageView,
Handler  handler 
)
inline

Instantiates a new crop image.

参数
contextthe context
imageViewthe image view
handlerthe handler

成员函数说明

void com.ab.view.cropimage.CropImage.crop ( Bitmap  bm)
inline

图片裁剪.

参数
bmthe bm
Bitmap com.ab.view.cropimage.CropImage.cropAndSave ( )
inline

裁剪并保存.

返回
the bitmap
Bitmap com.ab.view.cropimage.CropImage.cropAndSave ( Bitmap  bm)
inline

裁剪并保存.

参数
bmthe bm
返回
the bitmap
void com.ab.view.cropimage.CropImage.cropCancel ( )
inline

取消裁剪.

Bitmap com.ab.view.cropimage.CropImage.onSaveClicked ( Bitmap  bm)
inlineprivate

On save clicked.

参数
bmthe bm
返回
the bitmap
String com.ab.view.cropimage.CropImage.saveToLocal ( Bitmap  bitmap)
inline

Save to local.

参数
bitmapthe bitmap
返回
the string
void com.ab.view.cropimage.CropImage.startFaceDetection ( )
inlineprivate

Start face detection.

void com.ab.view.cropimage.CropImage.startRotate ( float  d)
inline

Start rotate.

参数
dthe d

类成员变量说明

File com.ab.view.cropimage.CropImage.FILE_LOCAL = null

The file local.

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

The m bitmap.

Context com.ab.view.cropimage.CropImage.mContext
private

The m context.

HighlightView com.ab.view.cropimage.CropImage.mCrop

The m crop.

Handler com.ab.view.cropimage.CropImage.mHandler
private

The m handler.

CropImageView com.ab.view.cropimage.CropImage.mImageView
private

The m image view.

Runnable com.ab.view.cropimage.CropImage.mRunFaceDetection
package

The m run face detection.

boolean com.ab.view.cropimage.CropImage.mSaving

The m saving.

boolean com.ab.view.cropimage.CropImage.mWaitingToPick

The m waiting to pick.


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