AEPCaptionTrack

@interface AEPCaptionTrack : AEPCaptionBaseTrack

字幕轨道

  • 逐字动画

    part animation

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly) NSArray<AEPPartAction *> *partActions;
  • 气泡资源

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly) AEPSource *source;
  • 描边颜色

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly) UIColor *outlineColor
  • 字体样式 - see: AliyunCaptionStickerFaceType

    Declaration

    Objective-C

    @property (nonatomic, readonly) AliyunCaptionStickerFaceType faceType;
  • 字幕缩放值,默认为1.0

    Declaration

    Objective-C

    @property (nonatomic, readonly) CGFloat scale;
  • 圆角大小, 默认等于0 API_AVAILABLE(3.31.0)

    Declaration

    Objective-C

    @property (nonatomic, readonly) CGFloat cornerRadius;
  • 描边宽度,单位:像素 默认0

    Declaration

    Objective-C

    @property (nonatomic, readonly) CGFloat outlineWidth;
  • 阴影颜色,默认nil

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly) UIColor *shadowColor
  • 阴影的偏移值,默认 UIOffsetZero, x/y单位:像素,默认UIOffsetZero

    Declaration

    Objective-C

    @property (nonatomic, readonly) int shadowOffset;
  • 花字效果文件夹路径

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly) AEPSource *fontEffectSource;
  • 对齐方式

    Declaration

    Objective-C

    @property (nonatomic, readonly) AliyunCaptionStickerTextAlignment textAlignment;
  • 编辑器中使用的字幕控制器

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly) AliyunCaptionStickerController *captionStickerController;