TuSDKCPRegionHandler Protocol Reference
Conforms to | NSObject |
---|---|
Declared in | TuSDKCPRegionHandler.h |
wrapSize
required method
容器长宽
@property (nonatomic) CGSize wrapSize
Declared In
TuSDKCPRegionHandler.h
offsetPercentTop
required method
顶部偏移百分比 0~1 默认 -1 即居中显示
@property (nonatomic) CGFloat offsetPercentTop
Declared In
TuSDKCPRegionHandler.h
rectPercent
required method
选区范围百分比
@property (nonatomic, readonly) CGRect rectPercent
Declared In
TuSDKCPRegionHandler.h
centerRectPercent
required method
计算 rectPercent 选区的居中范围百分比
@property (nonatomic, readonly) CGRect centerRectPercent
Declared In
TuSDKCPRegionHandler.h
– changeWithRatio:changer:
required method
切换比例动画
- (CGRect)changeWithRatio:(CGFloat)ratio changer:(void ( ^ ) ( CGRect rectPercent ))changer
Parameters
ratio |
比例 |
---|---|
changer |
切换动作 |
Return Value
rectPercent 确定的选区范围百分比
Declared In
TuSDKCPRegionHandler.h