16 #import <CoreGraphics/CGGeometry.h>
58 -(bool) applyCaptionStyle:(NSString*) captionStylePackageId;
74 -(bool) applyModularCaptionContext:(NSString*) captionContextPackageId;
90 -(bool) applyModularCaptionRenderer:(NSString*) captionRendererPackageId;
106 -(bool) applyModularCaptionAnimation:(NSString*) captionAnimationPackageId;
122 -(bool) applyModularCaptionInAnimation:(NSString*) captionInAnimationPackageId;
138 -(bool) applyModularCaptionOutAnimation:(NSString*) captionOutAnimationPackageId;
150 -(void) setModularCaptionAnimationPeroid:(
int)periodInMS;
174 -(void) setModularCaptionInAnimationDuration:(
int)inAnimationDurationInMS;
198 -(void) setModularCaptionOutAnimationDuration:(
int)outAnimationDurationInMS;
226 -(bool) applyCaptionStyleWithAssetDefaultParam:(NSString*) captionStylePackageId isUseDefaultAssetParam:(
NvsAssetDefaultParam)isUseDefaultAssetParam;
237 - (void)setText:(NSString *)text;
259 - (void)setVerticalLayout:(BOOL)verticalLayout;
329 - (void)setBold:(BOOL)bold;
351 - (void)setWeight:(
int)weight;
373 - (void)setItalic:(BOOL)italic;
395 - (void)setUnderline:(BOOL)underline;
432 - (void)setLetterSpacing:(
float)letterSpacing;
480 - (void)setLineSpacing:(
float)lineSpacing;
492 - (void)setTextColor:(const
NvsColor *)textColor;
523 - (void)setDrawOutline:(BOOL)drawOutline;
545 - (void)setOutlineColor:(const
NvsColor *)outlineColor;
576 - (void)setOutlineWidth:(
float)outlineWidth;
598 - (void)setDrawShadow:(BOOL)drawShadow;
620 - (void)setShadowColor:(const
NvsColor *)shadowColor;
642 - (void)setShadowOffset:(CGPoint)shadowOffset;
664 - (void)setShadowFeather:(
float)feather;
686 - (void)setFontSize:(
float)fontSize;
706 - (void)setFrameCaptionMaxFontSize:(
float)maxFontSize;
718 - (void)setFontWithFilePath:(NSString *)filePath;
752 - (void)setFontFamily:(NSString *)family;
764 - (void)setCaptionTranslation:(CGPoint)translation;
788 - (void)translateCaption:(CGPoint)translationOffset;
800 - (void)setAnchorPoint:(CGPoint)anchor;
825 - (void)setScaleX:(
float)scale;
851 - (void)setScaleY:(
float)scale;
877 - (void)scaleCaption:(
float)scaleFactor anchor:(CGPoint)anchor;
889 - (void)setRotationZ:(
float)angle;
915 - (void)rotateCaption:(
float)angle anchor:(CGPoint)anchor;
927 - (void)rotateCaption:(
float)angle;
939 - (void)setTextFrameOriginRect:(
NvsRect)rc;
986 - (void)setCenterPolarAngle:(
float)centerPolarAngle;
1025 - (void)setCenterAzimuthAngle:(
float)centerAzimuthAngle;
1065 - (void)setPolarAngleRange:(
float)polarAngleRange;
1130 - (void)setPanoramicScaleX:(
float)scaleX;
1156 - (void)setPanoramicScaleY:(
float)scaleY;
1182 - (void)setPanoramicRotation:(
float)rotationAngle;
1206 - (void)setZValue:(
float)value;
1228 - (void)setRecordingUserOperation:(BOOL)recordingUserOperation;
1239 - (void)setOpacity:(
float)opacity;
1262 - (void)setBackgroundColor:(const
NvsColor *)backgroundColor;
1286 - (void)setBackgroundRadius:(
float)radius;
1310 -(void)setBoundaryPaddingRatio:(
float)ratio;
1333 - (void)setSecondaryColor:(const
NvsColor *)color;
1357 - (void)setSecondaryOutlineColor:(const
NvsColor *)color;
1379 - (void)setCurrentKeyFrameTime:(int64_t)time;
1393 - (bool)setControlPoint:(NSString *)fxParam controlPointPair:(
NvsControlPointPair *)controlPointPair;
1430 - (void)setTextSpanList:(NSArray<
NvsCaptionSpan *>*)storyboardCaptionSpanList;
1472 - (BOOL)hasOutlineLayerInComplexRender:(
int)layerIndex;
1484 - (
NvsColor)getComplexRenderLayerOutlineColor:(
int)layerIndex;
1498 - (BOOL)setComplexRenderLayerOutlineColor:(
int)layerIndex color:(
NvsColor)color;
1510 - (float)getComplexRenderLayerOutlineWidth:(
int)layerIndex;
1524 - (BOOL)setComplexRenderLayerOutlineWidth:(
int)layerIndex width:(
float)width;
1536 - (float)getComplexRenderLayerOpacity:(
int)layerIndex;
1550 - (BOOL)setComplexRenderLayerOpacity:(
int)layerIndex opacity:(
float)opacity;