TuSDKPFSticker Class Reference

Inherits from TuSDKDataJson : NSObject
Declared in TuSDKPFSticker.h

Overview

贴纸数据对象

  idt

贴纸ID

@property (nonatomic) uint64_t idt

Declared In

TuSDKPFSticker.h

  groupId

贴纸包ID

@property (nonatomic) uint64_t groupId

Declared In

TuSDKPFSticker.h

  categoryId

贴纸分类ID

@property (nonatomic) uint64_t categoryId

Declared In

TuSDKPFSticker.h

  name

贴纸名称

@property (nonatomic, copy) NSString *name

Declared In

TuSDKPFSticker.h

  previewName

预览视图文件名

@property (nonatomic, copy) NSString *previewName

Declared In

TuSDKPFSticker.h

  stickerImageName

贴纸文件名

@property (nonatomic, copy) NSString *stickerImageName

Declared In

TuSDKPFSticker.h

  size

贴纸长宽 (单位DP: 需要与原始图片比例保持一致,否则会造成成图片变形)

@property (nonatomic) CGSize size

Declared In

TuSDKPFSticker.h

  type

贴纸元素类型

@property (nonatomic, readonly) lsqStickerType type

Declared In

TuSDKPFSticker.h

  image

贴纸图片

@property (nonatomic, retain) UIImage *image

Declared In

TuSDKPFSticker.h

  texts

贴纸文字列表

@property (nonatomic, retain) NSArray *texts

Declared In

TuSDKPFSticker.h

  positionInfo

贴纸定位信息

@property (nonatomic, readonly) TuSDKStickerPositionInfo *positionInfo

Declared In

TuSDKPFSticker.h

+ sticker

贴纸数据对象

+ (instancetype)sticker

Return Value

贴纸数据对象

Declared In

TuSDKPFSticker.h

+ stickerWithType:

贴纸数据对象

+ (instancetype)stickerWithType:(lsqStickerType)type

Return Value

贴纸数据对象

Declared In

TuSDKPFSticker.h

– copy

复制数据

- (instancetype)copy

Return Value

贴纸数据对象

Declared In

TuSDKPFSticker.h

– stickerTextWithId:

获取贴纸文字

- (TuSDKPFStickerText *)stickerTextWithId:(uint64_t)textId

Parameters

textId

贴纸文字ID

Return Value

贴纸文字

Declared In

TuSDKPFSticker.h

– requireFaceFeature

动态贴纸是否依赖人脸特征

- (BOOL)requireFaceFeature

Declared In

TuSDKPFSticker.h