public interface TuSdkTouchImageViewInterface
限定符和类型 | 接口和说明 |
---|---|
static class |
TuSdkTouchImageViewInterface.LsqImageChangeType
图片方向改变
|
限定符和类型 | 方法和说明 |
---|---|
void |
changeImageAnimation(TuSdkTouchImageViewInterface.LsqImageChangeType type)
改变图片方向动画
|
void |
changeRegionRatio(android.graphics.Rect rect,
float ratio)
改变选区比例动画
|
float |
getCurrentZoom()
Current Zoom
|
ImageOrientation |
getImageOrientation()
图片方向
|
android.graphics.RectF |
getZoomedRect()
Zoomed Rect
|
boolean |
isInAnimation()
是否正在处理动画
|
void |
setImageBitmap(android.graphics.Bitmap image)
设置图片
|
void |
setImageBitmap(android.graphics.Bitmap bm,
ImageOrientation mImageOrientation)
设置图片
|
void |
setImageBitmapWithAnim(android.graphics.Bitmap image)
set Image Bitmap With Anim
|
void |
setInvalidateTargetView(android.view.View mInvalidateTargetView)
需要刷新的关联视图 在某些机型无法刷新上层遮罩透明视图
|
void |
setScaleType(android.widget.ImageView.ScaleType type)
set ScaleType
|
void |
setZoom(float scale)
set Zoom
|
void |
setZoom(float scale,
float focusX,
float focusY)
set Zoom
|
void setInvalidateTargetView(android.view.View mInvalidateTargetView)
void changeRegionRatio(android.graphics.Rect rect, float ratio)
rect
- 选区信息ratio
- 选取比例void setImageBitmap(android.graphics.Bitmap bm, ImageOrientation mImageOrientation)
bm
- 图片mImageOrientation
- 图片方向void setImageBitmap(android.graphics.Bitmap image)
void setImageBitmapWithAnim(android.graphics.Bitmap image)
void setScaleType(android.widget.ImageView.ScaleType type)
void setZoom(float scale)
void setZoom(float scale, float focusX, float focusY)
scale
- focusX
- focusY
- float getCurrentZoom()
android.graphics.RectF getZoomedRect()
boolean isInAnimation()
void changeImageAnimation(TuSdkTouchImageViewInterface.LsqImageChangeType type)
ImageOrientation getImageOrientation()