|
| void | setClipAffinityEnabled (boolean enable) |
| | Sets whether the affinity between the caption and the clip is on. More...
|
| |
| boolean | getClipAffinityEnabled () |
| | Gets whether the affinity between the caption and the clip 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...
|
| |
| int | getRoleInTheme () |
| | The role of caption in the theme. More...
|
| |
| int | getCategory () |
| | Gets the type of caption. More...
|
| |
| String | getCaptionStylePackageId () |
| | Gets the caption style package ID. More...
|
| |
| boolean | applyCaptionStyle (String captionStylePackageId) |
| | Applys caption style. More...
|
| |
| boolean | applyCaptionStyle (String captionStylePackageId, int isUseDefaultAssetParam) |
| | Applys caption style. More...
|
| |
| void | setText (String text) |
| | Sets caption text. More...
|
| |
| String | getText () |
| | Gets caption text. More...
|
| |
| void | setTextAlignment (int textAlign) |
| | Sets caption alignment style. More...
|
| |
| int | getTextAlignment () |
| | Gets caption alignment style. More...
|
| |
| void | setBold (boolean bold) |
| | Sets caption font bold. More...
|
| |
| boolean | getBold () |
| | Gets the caption font bold state. More...
|
| |
| void | setItalic (boolean italic) |
| | Sets caption font italic. More...
|
| |
| boolean | getItalic () |
| | Gets the caption italic state. More...
|
| |
| void | setLetterSpacing (float letterSpacing) |
| | Sets caption word spacing. More...
|
| |
| float | getLetterSpacing () |
| | Gets caption word spacing. More...
|
| |
| void | setTextColor (NvsColor textColor) |
| | Sets caption text color. More...
|
| |
| NvsColor | getTextColor () |
| | Gets the current color value of the caption font. More...
|
| |
| void | setDrawOutline (boolean drawOutline) |
| | Sets caption stroke. More...
|
| |
| boolean | getDrawOutline () |
| | Gets the caption stroke status. More...
|
| |
| void | setOutlineColor (NvsColor outlineColor) |
| | Sets the color of the caption stroke. More...
|
| |
| NvsColor | getOutlineColor () |
| | Gets the color value of the current caption stroke. More...
|
| |
| void | setOutlineWidth (float outlineWidth) |
| | Sets the width of the caption stroke. More...
|
| |
| float | getOutlineWidth () |
| | Gets the width of the current caption stroke. More...
|
| |
| void | setDrawShadow (boolean drawShadow) |
| | Sets caption shadows. More...
|
| |
| boolean | getDrawShadow () |
| | Gets the current caption shadow status. More...
|
| |
| void | setShadowColor (NvsColor shadowColor) |
| | Sets the color of the caption shadow. More...
|
| |
| NvsColor | getShadowColor () |
| | Gets the color of the caption shadow. More...
|
| |
| void | setShadowOffset (PointF shadowOffset) |
| | Sets the offset of the caption shadow. More...
|
| |
| PointF | getShadowOffset () |
| | Gets the offset of the current caption shadow. More...
|
| |
| void | setFontSize (float fontSize) |
| | Sets the caption font size. More...
|
| |
| float | getFontSize () |
| | Gets the font size of the current caption. More...
|
| |
| void | setFontByFilePath (String filePath) |
| | Sets caption font. More...
|
| |
| String | getFontFilePath () |
| | Gets the file path of the caption font. More...
|
| |
| void | setFontFamily (String family) |
| | Sets caption font. More...
|
| |
| String | getFontFamily () |
| | Get the name of caption font. 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) |
| | Caption translation. 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 | rotateCaption (float angle) |
| | Rotates caption with the caption center point as the anchor point. More...
|
| |
| RectF | getTextBoundingRect () |
| | Gets caption text rectangle. More...
|
| |
| List< PointF > | getBoundingRectangleVertices () |
| | Gets the vertex position of the original enclosing rectangle of the caption after transformation. More...
|
| |
| boolean | isPanoramic () |
| | Determines whether the current caption is a panorama caption. More...
|
| |
| void | setCenterPolarAngle (float centerPolarAngle) |
| | Sets the polar angle of the center point for the caption. It is only valid for panorama captions. More...
|
| |
| float | getCenterPolarAngle () |
| | Gets the polar angle of the center point for the caption. It is only valid for panorama captions. More...
|
| |
| float | getTextCenterPolarAngle () |
| | Gets the polar angle of the center point for the caption. It is only valid for panorama captions. More...
|
| |
| void | setCenterAzimuthAngle (float centerAzimuthAngle) |
| | Sets the azimuth of the center point for the caption. It is only valid for panorama captions. More...
|
| |
| float | getCenterAzimuthAngle () |
| | Gets the azimuth of the center point for the caption. It is only valid for panorama captions. More...
|
| |
| float | getTextCenterAzimuthAngle () |
| | Gets the azimuth of the center point for the caption. It is only valid for panorama captions. More...
|
| |
| void | setPolarAngleRange (float polarAngleRange) |
| | Sets the caption's field angle, which is coplanar with the polar angle. It is only valid for panorama captions. More...
|
| |
| float | getPolarAngleRange () |
| | Gets the caption's field angle, which is coplanar with the polar angle. It is only valid for panorama captions. More...
|
| |
| float | getOrthoAngleRange () |
| | Gets the caption's field angle which is perpendicular to the polar angle. It is only valid for panorama captions. More...
|
| |
| float | getTextPolarAngleRange () |
| | Gets the text's field angle which is perpendicular to the polar angle. It is only valid for panorama captions. More...
|
| |
| float | getTextOrthoAngleRange () |
| | Gets the text's field angle which is perpendicular to the polar angle. It is only valid for panorama captions. More...
|
| |
| void | setPanoramicScaleX (float scaleX) |
| | Sets the horizontal scaling factor for the caption. It is only valid for panorama captions. More...
|
| |
| float | getPanoramicScaleX () |
| | Gets the horizontal scaling factor for the caption. It is only valid for panorama captions. More...
|
| |
| void | setPanoramicScaleY (float scaleY) |
| | Sets the vertical scaling factor for the caption. It is only valid for panorama captions. More...
|
| |
| float | getPanoramicScaleY () |
| | Gets the vertical scaling factor for the caption. It is only valid for panorama captions. More...
|
| |
| void | setPanoramicRotation (float rotationAngle) |
| | Sets the rotation angle for the caption. It is only valid for panorama captions. More...
|
| |
| float | getPanoramicRotation () |
| | Gets the rotation angle for the caption. It is only valid for panorama captions. 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 captions.
Timeline captions are custom text that is superimposed on the video. When editing a video, users can add and remove timeline captions and adjust the captions position. After adding captions, user can also set the style, including font size, color, shadow, stroke, etc.
- Warning
- In the NvsTimelineCaption class, all public APIs are used in the UI thread! ! !