|
int | getCaptionCount () |
| 获取该复合字幕中子字幕的数量 更多...
|
|
void | setClipAffinityEnabled (boolean enable) |
| 设置是否开启字幕与视频片段之间的亲和度 更多...
|
|
boolean | getClipAffinityEnabled () |
| 获取字幕与片段之间的亲和度是否开启 更多...
|
|
long | getInPoint () |
| 字幕在时间线上显示的入点 更多...
|
|
long | getOutPoint () |
| 字幕在时间线显示上的出点 更多...
|
|
long | changeInPoint (long newInPoint) |
| 改变字幕在时间线上显示的入点 更多...
|
|
long | changeOutPoint (long newOutPoint) |
| 改变字幕在时间线上显示的出点 更多...
|
|
void | movePosition (long offset) |
| 改变字幕在时间线上的显示位置(入点和出点同时偏移offset值) 更多...
|
|
void | setText (int captionIndex, String text) |
| 设置字幕文本 更多...
|
|
String | getText (int captionIndex) |
| 获取字幕文本 更多...
|
|
void | setFontFamily (int captionIndex, String family) |
| 设置字幕字体 更多...
|
|
String | getFontFamily (int captionIndex) |
| 获取字幕字体的名字 更多...
|
|
void | setTextColor (int captionIndex, NvsColor textColor) |
| 设置字幕文本颜色 更多...
|
|
NvsColor | getTextColor (int captionIndex) |
| 获取字幕的颜色值 更多...
|
|
void | setCaptionTranslation (PointF translation) |
| 设置字幕平移量 更多...
|
|
PointF | getCaptionTranslation () |
| 获取字幕的平移量 更多...
|
|
void | translateCaption (PointF translationOffset) |
| 平移字幕 更多...
|
|
void | setAnchorPoint (PointF anchor) |
| 设置字幕锚点 更多...
|
|
PointF | getAnchorPoint () |
| 获取字幕锚点 更多...
|
|
void | setScaleX (float scale) |
| 对字幕设置水平缩放系数 更多...
|
|
float | getScaleX () |
| 获取字幕水平缩放系数 更多...
|
|
void | setScaleY (float scale) |
| 对字幕设置垂直缩放系数 更多...
|
|
float | getScaleY () |
| 获取字幕垂直缩放系数 更多...
|
|
void | scaleCaption (float scaleFactor, PointF anchor) |
| 缩放字幕 更多...
|
|
void | setRotationZ (float angle) |
| 对字幕设置旋转角度 更多...
|
|
float | getRotationZ () |
| 获取字幕旋转角度 更多...
|
|
void | rotateCaption (float angle, PointF anchor) |
| 旋转字幕 更多...
|
|
void | rotateCaptionAroundCenter (float angle, int boundingType) |
| 绕字幕边框中心旋转 更多...
|
|
List< PointF > | getCaptionBoundingVertices (int captionIndex, int boundingType) |
| 获取字幕原始边框变换后的顶点位置 更多...
|
|
List< PointF > | getCompoundBoundingVertices (int boundingType) |
| 获取复合字幕原始边框变换后的顶点位置 更多...
|
|
void | setZValue (float value) |
| 设置字幕Z值 更多...
|
|
float | getZValue () |
| 获取字幕Z值 更多...
|
|
NvsFxDescription | getDescription () |
| 获取Fx的描述 更多...
|
|
void | setIntVal (String fxParam, int val) |
| 设置特效的整数参数值 更多...
|
|
int | getIntVal (String fxParam) |
| 获得特效的整数参数值 更多...
|
|
void | setFloatVal (String fxParam, double val) |
| 设置特效的浮点值参数值 更多...
|
|
double | getFloatVal (String fxParam) |
| 获得特效浮点值参数值 更多...
|
|
void | setBooleanVal (String fxParam, boolean val) |
| 设置特效布尔值参数值 更多...
|
|
boolean | getBooleanVal (String fxParam) |
| 获得特效的布尔值参数值 更多...
|
|
void | setStringVal (String fxParam, String val) |
| 设置特效字符串参数值 更多...
|
|
String | getStringVal (String fxParam) |
| 获得特效字符串参数值 更多...
|
|
void | setColorVal (String fxParam, NvsColor val) |
| 设置特效颜色值参数值 更多...
|
|
NvsColor | getColorVal (String fxParam) |
| 获得特效颜色值参数值 更多...
|
|
void | setPosition2DVal (String fxParam, NvsPosition2D val) |
| 设置特效二维坐标参数值 更多...
|
|
NvsPosition2D | getPosition2DVal (String fxParam) |
| 获得特效二维坐标参数值 更多...
|
|
void | setPosition3DVal (String fxParam, NvsPosition3D val) |
| 设置特效三维坐标参数值 更多...
|
|
NvsPosition3D | getPosition3DVal (String fxParam) |
| 获得特效三维坐标参数值 更多...
|
|
void | setMenuVal (String fxParam, String val) |
| 设置特效菜单参数值 更多...
|
|
String | getMenuVal (String fxParam) |
| 获得特效菜单参数值 更多...
|
|
void | setFilterIntensity (float intensity) |
| 设置滤镜的强度 更多...
|
|
float | getFilterIntensity () |
| 获得滤镜的强度 更多...
|
|
NvsParticleSystemContext | getParticleSystemContext () |
|
NvsARFaceContext | getARFaceContext () |
|
NvsPaintingEffectContext | getPaintingEffectContext () |
|
NvsARSceneManipulate | getARSceneManipulate () |
| 获得NvsARSceneManipulate接口 更多...
|
|
void | setAttachment (String key, Object value) |
| 为NvsObject对象添加附加的数据,用来标识NvsObject的对象或者其他用途 更多...
|
|
Object | getAttachment (String key) |
| 获取NvsObject的附件 更多...
|
|
时间线复合字幕
时间线复合字幕是视频上叠加的组合型文字,每个复合字幕包含若干个子字幕。编辑视频时,可以添加和移除时间线复合字幕,并对字幕位置进行调整处理,还可以对字体,颜色属性进行修改。
- 警告
- NvsTimelineCompoundCaption类中,所有public API都必须在UI线程使用!!!
- 自从
- 2.9.0