TuSDKPFStickerText Class Reference

Inherits from TuSDKDataJson : NSObject
Declared in TuSDKPFStickerText.h

Overview

贴纸文字

  idt

贴纸ID

@property (nonatomic) uint64_t idt

Declared In

TuSDKPFStickerText.h

  stickerId

贴纸ID

@property (nonatomic) uint64_t stickerId

Declared In

TuSDKPFStickerText.h

  groupId

贴纸包ID

@property (nonatomic) uint64_t groupId

Declared In

TuSDKPFStickerText.h

  categoryId

贴纸分类ID

@property (nonatomic) uint64_t categoryId

Declared In

TuSDKPFStickerText.h

  type

贴纸文字类型

@property (nonatomic, readonly) lsqStickerTextType type

Declared In

TuSDKPFStickerText.h

  text

文字信息

@property (nonatomic, copy) NSString *text

Declared In

TuSDKPFStickerText.h

  textStyleDic

文字样式

@property (nonatomic, copy) NSDictionary *textStyleDic

Declared In

TuSDKPFStickerText.h

  color

文字颜色

@property (nonatomic, retain) UIColor *color

Declared In

TuSDKPFStickerText.h

  shadowColor

文字阴影颜色

@property (nonatomic, retain) UIColor *shadowColor

Declared In

TuSDKPFStickerText.h

  size

文字大小 (单位:SP)

@property (nonatomic) CGFloat size

Declared In

TuSDKPFStickerText.h

  rect

文字区域位置长宽百分比信息

@property (nonatomic) CGRect rect

Declared In

TuSDKPFStickerText.h

  rectSize

文字区域长宽信息

@property (nonatomic) CGSize rectSize

Declared In

TuSDKPFStickerText.h

  alignment

文字对齐方式 (0:左对齐, 1:居中对齐, 2:右对齐)

@property (nonatomic) NSTextAlignment alignment

Declared In

TuSDKPFStickerText.h

  textImage

文字区域生成的图片,优先使用图片,为nil 时,使用参数进行绘制

@property (nonatomic) UIImage *textImage

Declared In

TuSDKPFStickerText.h

+ textWithType:

贴纸文字对象

+ (instancetype)textWithType:(lsqStickerTextType)type

Return Value

贴纸文字对象

Declared In

TuSDKPFStickerText.h

– copy

复制数据

- (instancetype)copy

Return Value

贴纸文字

Declared In

TuSDKPFStickerText.h