AliyunCaptionSticker

@interface AliyunCaptionSticker : AliyunSticker <NSCopying>

Undocumented

  • * Text of Caption. API_AVAILABLE(3.22.0)

    Declaration

    Objective-C

    @property (nonatomic, copy) NSString *text;
  • * The scale value of caption, default is 1.0. API_AVAILABLE(3.22.0)

    Declaration

    Objective-C

    @property (nonatomic) float scale;
  • * The FontStyle of caption, - see: AliyunCaptionStickerFaceType API_AVAILABLE(3.22.0)

    Declaration

    Objective-C

    @property (nonatomic) AliyunCaptionStickerFaceType faceType;
  • * The text fontName, defualt is “”. API_AVAILABLE(3.22.0)

    Declaration

    Objective-C

    @property (nonatomic, copy) NSString *fontName;
  • * The text color, default is white. API_AVAILABLE(3.22.0)

    Declaration

    Objective-C

    @property (nonatomic, strong) UIColor *color
  • * Text stroke width, unit:px, default is 0. API_AVAILABLE(3.22.0)

    Declaration

    Objective-C

    @property (nonatomic) float outlineWidth;
  • * The stroke color of caption, default is nil API_AVAILABLE(3.22.0)

    Declaration

    Objective-C

    @property (nonatomic, strong) UIColor *outlineColor
  • * The offset value of the shadow, x/y unit:px,默认0 default is UIOffsetZero. API_AVAILABLE(3.22.0)

    Declaration

    Objective-C

    @property (nonatomic) int shadowOffset;
  • * The shadow color of caption, default is nil. API_AVAILABLE(3.22.0)

    Declaration

    Objective-C

    @property (nonatomic, strong) UIColor *shadowColor
  • * The template for bubble text. API_AVAILABLE(3.22.0)

    Declaration

    Objective-C

    @property (nonatomic, copy) NSString *resourePath;
  • * The flower effct template path. API_AVAILABLE(3.22.0)

    Declaration

    Objective-C

    @property (nonatomic, copy) NSString *fontEffectTemplatePath;
  • * TextAlignment. - see: AliyunCaptionStickerTextAlignment.API_AVAILABLE(3.23.0)

    Declaration

    Objective-C

    @property (nonatomic) AliyunCaptionStickerTextAlignment textAlignment;
  • * The backgroundColor color, default color alpha is 0. API_AVAILABLE(3.23.0)

    Declaration

    Objective-C

    @property (nonatomic, strong) UIColor *backgroundColor
  • * The corner radius, default is 0. API_AVAILABLE(3.31.0)

    Declaration

    Objective-C

    @property (nonatomic) float cornerRadius;
  • * Get the partActions. API_AVAILABLE(3.25.0).

    Declaration

    Objective-C

    - (NSArray<AliyunPartAction *> *)getPartActionList;