AliyunRollCaptionItemStyle

@interface AliyunRollCaptionItemStyle : NSObject

* The style of roll caption

  • * The text contents. API_AVAILABLE(3.20.0)

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly) NSString *text;
  • * The start time of the sticker. API_AVAILABLE(3.20.0)

    Unit: seconds.

    Declaration

    Objective-C

    @property (nonatomic, readonly) CGFloat startTime;
  • * The text color, default is white. API_AVAILABLE(3.20.0)

    Declaration

    Objective-C

    @property(nonatomic, strong) UIColor *textColor
  • * The text stroke color, default is nil API_AVAILABLE(3.20.0)

    Declaration

    Objective-C

    @property(nonatomic, strong) UIColor *strokeColor
  • * The text font. default is Helvetica. API_AVAILABLE(3.20.0)

    Declaration

    Objective-C

    @property (nonatomic, copy) NSString *fontName;
  • INITIALIZER API_AVAILABLE(3.20.0)

    Declaration

    Objective-C

    - (instancetype)initWithText:(NSString *)text startTime:(CGFloat)startTime;

    Parameters

    text

    The text for single caption

    startTime

    The start time of the sticker, Unit: seconds.