TuSDKPFStickerItemView Class Reference

Inherits from UIView
Conforms to TuSDKPFStickerItemViewInterface
Declared in TuSDKPFStickerView.h

Overview

贴纸元件视图

  imageView

图片视图

@property (nonatomic, readonly) UIImageView *imageView

Declared In

TuSDKPFStickerView.h

  cancelButton

取消按钮

@property (nonatomic, readonly) UIButton *cancelButton

Declared In

TuSDKPFStickerView.h

  turnButton

旋转缩放按钮

@property (nonatomic, readonly) UIButton *turnButton

Declared In

TuSDKPFStickerView.h

  delegate

贴纸元件视图委托

@property (nonatomic, weak) id<TuSDKPFStickerItemViewDelegate> delegate

Declared In

TuSDKPFStickerView.h

  minScale

最小缩小比例(默认: 0.5f <= mMinScale <= 1)

@property (nonatomic) CGFloat minScale

Declared In

TuSDKPFStickerView.h

  strokeWidth

边框宽度

@property (nonatomic) CGFloat strokeWidth

Declared In

TuSDKPFStickerView.h

  strokeColor

边框颜色

@property (nonatomic, retain) UIColor *strokeColor

Declared In

TuSDKPFStickerView.h

  selected

选中状态

@property (nonatomic) BOOL selected

Declared In

TuSDKPFStickerView.h

  sticker

贴纸数据对象

@property (nonatomic, retain) TuSDKPFSticker *sticker

Declared In

TuSDKPFStickerView.h

– resetImageEdge

重置图片视图边缘距离

- (void)resetImageEdge

Declared In

TuSDKPFStickerView.h

– resultWithRegionRect:

获取贴纸处理结果

- (TuSDKPFStickerResult *)resultWithRegionRect:(CGRect)regionRect

Parameters

regionRect

图片选区范围

Return Value

贴纸处理结果

Declared In

TuSDKPFStickerView.h