美摄SDK For iOS  3.14.0
NvsCompoundCaption.h 文件参考
#import "NvsFx.h"
#import <CoreGraphics/CGGeometry.h>

浏览源代码.

class  NvsCompoundCaption
 

枚举

边框类型

复合字幕

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

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

enum  NvsBoundingType {
  NvsBoundingType_Text = 0, NvsBoundingType_Text_Frame = 1, NvsBoundingType_Frame = 2, NvsBoundingType_Text_Origin_Frame = 3,
  NvsBoundingType_Typographic_Text = 4
}
 

枚举类型说明

◆ NvsBoundingType

枚举值
NvsBoundingType_Text 

文字的实际边框

NvsBoundingType_Text_Frame 

文字框的边框

NvsBoundingType_Frame 

包括装饰在内的整体边框

NvsBoundingType_Text_Origin_Frame 

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

NvsBoundingType_Typographic_Text 

文字的排版边框