|
int | getCaptionCount () |
| Gets number of sub-cpations in this compound caption. More...
|
|
void | setClipAffinityEnabled (boolean enable) |
| Sets whether to turn on affinity between the caption and video clip. More...
|
|
boolean | getClipAffinityEnabled () |
| Gets whether the affinity between the caption and video clip is on. Default is on. More...
|
|
long | getInPoint () |
| Get the in-point of the caption on the timeline. More...
|
|
long | getOutPoint () |
| The out-point of the caption on the timeline. More...
|
|
long | changeInPoint (long newInPoint) |
| Changes the in-point of the caption on the timeline. More...
|
|
long | changeOutPoint (long newOutPoint) |
| Changes the out-point of the caption on the timeline. More...
|
|
void | movePosition (long offset) |
| Changes the display position of the caption on the timeline (the in and out points are offset from the offset value at the same time). More...
|
|
void | setText (int captionIndex, String text) |
| Sets caption text. More...
|
|
String | getText (int captionIndex) |
| Get caption text. More...
|
|
void | setFontFamily (int captionIndex, String family) |
| Sets caption font family. More...
|
|
String | getFontFamily (int captionIndex) |
| Get the name of caption font. More...
|
|
void | setTextColor (int captionIndex, NvsColor textColor) |
| Sets caption text color. More...
|
|
NvsColor | getTextColor (int captionIndex) |
| Gets the color value of the caption. More...
|
|
void | setCaptionTranslation (PointF translation) |
| Sets the amount of caption translation. More...
|
|
PointF | getCaptionTranslation () |
| Gets the amount of caption translation. More...
|
|
void | translateCaption (PointF translationOffset) |
| Translate caption. More...
|
|
void | setAnchorPoint (PointF anchor) |
| Sets caption anchor. More...
|
|
PointF | getAnchorPoint () |
| Gets caption anchor. More...
|
|
void | setScaleX (float scale) |
| Sets horizontal scaling factor for caption. More...
|
|
float | getScaleX () |
| Gets caption horizontal scaling factor. More...
|
|
void | setScaleY (float scale) |
| Sets vertical scaling factor for captions. More...
|
|
float | getScaleY () |
| Gets caption vertical scaling factor. More...
|
|
void | scaleCaption (float scaleFactor, PointF anchor) |
| Zooms caption. More...
|
|
void | setRotationZ (float angle) |
| Sets the rotation angle for the caption. More...
|
|
float | getRotationZ () |
| Gets caption rotation angle. More...
|
|
void | rotateCaption (float angle, PointF anchor) |
| Rotates captions. More...
|
|
void | rotateCaptionAroundCenter (float angle, int boundingType) |
| Rotates caption around center of the bounding. More...
|
|
List< PointF > | getCaptionBoundingVertices (int captionIndex, int boundingType) |
| Gets the transformed vertices position of the original caption bounding. More...
|
|
List< PointF > | getCompoundBoundingVertices (int boundingType) |
| Gets the transformed vertices position of the original compound caption bounding. More...
|
|
void | setZValue (float value) |
| Sets caption Z value. More...
|
|
float | getZValue () |
| Gets caption Z value. More...
|
|
NvsFxDescription | getDescription () |
| Gets decription of Fx. More...
|
|
void | setIntVal (String fxParam, int val) |
| Sets the integer parameter of NvsFx. More...
|
|
int | getIntVal (String fxParam) |
| Gets the integer parameter of NvsFx. More...
|
|
void | setFloatVal (String fxParam, double val) |
| Sets the float parameter of NvsFx. More...
|
|
double | getFloatVal (String fxParam) |
| Gets the float parameter of NvsFx. More...
|
|
void | setBooleanVal (String fxParam, boolean val) |
| Sets the boolean parameter of NvsFx. More...
|
|
boolean | getBooleanVal (String fxParam) |
| Gets the boolean parameter of NvsFx. More...
|
|
void | setStringVal (String fxParam, String val) |
| Sets the string parameter of NvsFx. More...
|
|
String | getStringVal (String fxParam) |
| Gets the string parameter of NvsFx. More...
|
|
void | setColorVal (String fxParam, NvsColor val) |
| Sets the color parameter of NvsFx. More...
|
|
NvsColor | getColorVal (String fxParam) |
| Gets the color parameter of NvsFx. More...
|
|
void | setPosition2DVal (String fxParam, NvsPosition2D val) |
| Sets the two dimentional coordinates parameter of NvsFx. More...
|
|
NvsPosition2D | getPosition2DVal (String fxParam) |
| Gets the two dimentional coordinates parameter of NvsFx. More...
|
|
void | setPosition3DVal (String fxParam, NvsPosition3D val) |
| Sets the three dimentional coordinates parameter of NvsFx. More...
|
|
NvsPosition3D | getPosition3DVal (String fxParam) |
| Gets the three dimentional coordinates parameter of NvsFx. More...
|
|
void | setMenuVal (String fxParam, String val) |
| Sets the menu parameter of NvsFx. More...
|
|
String | getMenuVal (String fxParam) |
| Gets the menu parameter of NvsFx. More...
|
|
void | setFilterIntensity (float intensity) |
| Sets the intensity of the filter. More...
|
|
float | getFilterIntensity () |
| Gets the intensity of the filter. More...
|
|
NvsParticleSystemContext | getParticleSystemContext () |
|
NvsARFaceContext | getARFaceContext () |
|
NvsPaintingEffectContext | getPaintingEffectContext () |
|
NvsARSceneManipulate | getARSceneManipulate () |
| 获得NvsARSceneManipulate接口 More...
|
|
void | setAttachment (String key, Object value) |
| Adds additional data to the NvsObject object to identify the NvsObject object or for other purpose. More...
|
|
Object | getAttachment (String key) |
| Gets an attachment to NvsObject. More...
|
|
Timeline compound caption.
Timeline compound captions are compound caption that is superimposed on the video, each compound caption may composed of several sub-captions. When editing a video, users can add or remove timeline compound captions and adjust the captions position. User can also set its properties such as font family, text color, etc.
- Warning
- In the NvsTimelineCompoundCaption class, all public APIs should be used in the UI thread!!!
- Since
- 2.9.0