TuSDKICTouchImageViewInterface Protocol Reference
Conforms to | NSObject |
---|---|
Declared in | TuSDKICTouchImageView.h |
delegate
required method
图片编辑视图 (旋转,缩放)委托
@property (nonatomic, weak) id<TuSDKICTouchImageViewDelegate> delegate
Declared In
TuSDKICTouchImageView.h
imageView
required method
图片视图
@property (nonatomic, readonly) UIImageView *imageView
Declared In
TuSDKICTouchImageView.h
isInAniming
required method
是否正在处理动画
@property (nonatomic, readonly) BOOL isInAniming
Declared In
TuSDKICTouchImageView.h
regionRatio
required method
区域长宽比例
@property (nonatomic) CGFloat regionRatio
Declared In
TuSDKICTouchImageView.h
imageOrientation
required method
图片方向
@property (nonatomic, readonly) UIImageOrientation imageOrientation
Declared In
TuSDKICTouchImageView.h
zoomScale
required method
缩放倍数
@property (nonatomic, readonly) CGFloat zoomScale
Declared In
TuSDKICTouchImageView.h
– needUpdateLayout
required method
更新布局
- (void)needUpdateLayout
Declared In
TuSDKICTouchImageView.h
– setImage:
required method
设置图片
- (void)setImage:(UIImage *)image
Parameters
image |
图片 |
---|
Declared In
TuSDKICTouchImageView.h
– changeImage:
required method
改变图片方向
- (void)changeImage:(lsqImageChange)changed
Parameters
changed |
图片方向改变 |
---|
Declared In
TuSDKICTouchImageView.h
– changeRegionRatio:
required method
改变图片区域长宽比例
- (void)changeRegionRatio:(CGFloat)regionRatio
Parameters
regionRatio |
图片区域长宽比例 |
---|
Declared In
TuSDKICTouchImageView.h
– countImageCutRect
required method
计算图片裁剪区域百分比
- (CGRect)countImageCutRect
Return Value
countImageCutRect 图片裁剪区域百分比
Declared In
TuSDKICTouchImageView.h
– inActioning
required method
是否正在动作
- (BOOL)inActioning
Return Value
BOOL 是否正在动作
Declared In
TuSDKICTouchImageView.h
– restoreWithZoomRect:zoomScale:
required method
恢复图片缩放选区位置
- (void)restoreWithZoomRect:(CGRect)zoomRect zoomScale:(CGFloat)zoomScale
Parameters
zoomRect |
缩放选区 |
---|---|
zoomScale |
缩放倍数 |
Declared In
TuSDKICTouchImageView.h