美摄SDK For iOS  3.7.2
NvsVideoEffectCompoundCaption.h 文件参考
#import "NvsEffect.h"
#import <CoreGraphics/CGGeometry.h>

浏览源代码.

class  NvsVideoEffectCompoundCaption
 

枚举

边框类型

复合字幕

复合字幕是视频上叠加的组合型文字,每个复合字幕包含若干个子字幕。编辑视频时,可以添加和移除时间线复合字幕,并对字幕位置进行调整处理,还可以对字体,颜色属性进行修改。

警告
NvsTimelineCompoundCaption类中,所有public API都必须在UI线程使用!!!
自从
2.9.0

enum  NvsEffectBoundingType {
  NvsEffectBoundingType_Text = 0, NvsEffectBoundingType_Text_Frame = 1, NvsEffectBoundingType_Frame = 2, NvsEffectBoundingType_Text_Origin_Frame = 3,
  NvsEffectBoundingType_Typographic_Text = 4
}
 

枚举类型说明

◆ NvsEffectBoundingType

枚举值
NvsEffectBoundingType_Text 

文字的实际边框

NvsEffectBoundingType_Text_Frame 

文字框的边框

NvsEffectBoundingType_Frame 

包括装饰在内的整体边框

NvsEffectBoundingType_Text_Origin_Frame 

没有经过变换的文字框的边框

NvsEffectBoundingType_Typographic_Text 

文字的排版边框