AliyunCaptionSticker
@interface AliyunCaptionSticker : AliyunSticker <NSCopying>
Undocumented
-
文本 API_AVAILABLE(3.22.0)
Declaration
Objective-C
@property (nonatomic, copy) NSString *text; -
字幕缩放值,默认为1.0 API_AVAILABLE(3.22.0)
Declaration
Objective-C
@property (nonatomic) float scale; -
字体样式 - see: AliyunCaptionStickerFaceType API_AVAILABLE(3.22.0)
Declaration
Objective-C
@property (nonatomic) AliyunCaptionStickerFaceType faceType; -
字体名称,优先级高于fontPath,不设置默认使用系统字体 API_AVAILABLE(3.22.0)
Declaration
Objective-C
@property (nonatomic, copy) NSString *fontName; -
文字颜色, 默认白色 API_AVAILABLE(3.22.0)
Declaration
Objective-C
@property (nonatomic, strong) UIColor *color -
描边宽度,单位:像素 默认0 API_AVAILABLE(3.22.0)
Declaration
Objective-C
@property (nonatomic) float outlineWidth; -
描边颜色,默认nil API_AVAILABLE(3.22.0)
Declaration
Objective-C
@property (nonatomic, strong) UIColor *outlineColor -
阴影的偏移值,默认 UIOffsetZero, x/y单位:像素,默认UIOffsetZero API_AVAILABLE(3.22.0)
Declaration
Objective-C
@property (nonatomic) int shadowOffset; -
阴影颜色,默认nil API_AVAILABLE(3.22.0)
Declaration
Objective-C
@property (nonatomic, strong) UIColor *shadowColor -
气泡文字文件夹路径 API_AVAILABLE(3.22.0)
Declaration
Objective-C
@property (nonatomic, copy) NSString *resourePath; -
花字效果文件夹路径 API_AVAILABLE(3.22.0)
Declaration
Objective-C
@property (nonatomic, copy) NSString *fontEffectTemplatePath; -
文字对齐方式 API_AVAILABLE(3.23.0)
Declaration
Objective-C
@property (nonatomic) AliyunCaptionStickerTextAlignment textAlignment; -
背景颜色, 默认颜色alpha等于0 API_AVAILABLE(3.23.0)
Declaration
Objective-C
@property (nonatomic, strong) UIColor *backgroundColor -
圆角大小, 默认等于0 API_AVAILABLE(3.31.0)
Declaration
Objective-C
@property (nonatomic) float cornerRadius; -
逐字动画列表 API_AVAILABLE(3.25.0)
Declaration
Objective-C
- (NSArray<AliyunPartAction *> *)getPartActionList;
AliyunCaptionSticker Class Reference