Go to the documentation of this file.
16 #import <CoreGraphics/CGGeometry.h>
81 - (int64_t)changeInPoint:(int64_t)newInPoint;
96 - (int64_t)changeOutPoint:(int64_t)newOutPoint;
108 - (void)movePosition:(int64_t)offset;
121 - (void)setText:(NSInteger)captionIndex
122 text:(NSString *)text;
135 - (NSString *)getText:(NSInteger)captionIndex;
148 - (void)setFontFamily:(NSInteger)captionIndex
149 family:(NSString *)family;
162 - (NSString *)getFontFamily:(NSInteger)captionIndex;
175 - (void)setTextColor:(NSInteger)captionIndex
202 - (void)setWeight:(
int)weight captionIndex:(
int)captionIndex;
215 - (int)getWeight:(
int)captionIndex;
226 - (void)setCaptionTranslation:(CGPoint)translation;
249 - (void)translateCaption:(CGPoint)translationOffset;
260 - (void)setAnchorPoint:(CGPoint)anchor;
283 - (void)setScaleX:(
float)scale;
307 - (void)setScaleY:(
float)scale;
331 - (void)scaleCaption:(
float)scaleFactor
332 anchor:(CGPoint)anchor;
343 - (void)setRotationZ:(
float)angle;
366 - (void)rotateCaption:(
float)angle
367 anchor:(CGPoint)anchor;
379 - (void)rotateCaptionAroundCenter:(
float)angle
394 - (NSArray *)getCaptionBoundingVertices:(NSInteger)captionIndex
417 - (void)setZValue:(
float)value;
438 - (void)setOpacity:(
float)opacity;
NSString * captionStylePackageId
The package ID of the caption style.
Definition: NvsVideoEffectCompoundCaption.h:66
CGPoint getAnchorPoint()
Gets caption anchor.
NSInteger captionCount
Gets number of sub-cpations in this compound caption.
Definition: NvsVideoEffectCompoundCaption.h:62
NvsEffectBoundingType
Definition: NvsVideoEffectCompoundCaption.h:44
@ NvsEffectBoundingType_Text_Frame
Text frame bounding.
Definition: NvsVideoEffectCompoundCaption.h:46
@ NvsEffectBoundingType_Typographic_Text
The typographic text bounding.
Definition: NvsVideoEffectCompoundCaption.h:49
float getOpacity()
Get the caption opacity.
float getZValue()
Gets caption Z value.
float getScaleX()
Gets caption horizontal scaling factor.
Self-defined color.
Definition: NvsEffectCommonDef.h:55
float getRotationZ()
Gets caption rotation angle.
int64_t inPoint
The in point of the caption on the timeline(in microseconds)
Definition: NvsVideoEffectCompoundCaption.h:64
float getScaleY()
Gets caption vertical scaling factor.
#define NVS_EXPORT
Definition: NvsCommonDef.h:20
Special effects.
Definition: NvsEffect.h:46
Definition: NvsVideoEffectCompoundCaption.h:53
Video resolution.
Definition: NvsEffectCommonDef.h:39
@ NvsEffectBoundingType_Text
The actual text bounding.
Definition: NvsVideoEffectCompoundCaption.h:45
int64_t outPoint
The out point of the caption on the timeline (in microseconds)
Definition: NvsVideoEffectCompoundCaption.h:65
CGPoint getCaptionTranslation()
Gets the amount of caption translation.
@ NvsEffectBoundingType_Text_Origin_Frame
Text frame bounding that has not been transformed.
Definition: NvsVideoEffectCompoundCaption.h:48
@ NvsEffectBoundingType_Frame
The whole bounding including decoration.
Definition: NvsVideoEffectCompoundCaption.h:47