|
int | getCaptionCount () |
| Gets number of sub-cpations in this compound caption. More...
|
|
long | getInPoint () |
| Get the in-point of the caption. More...
|
|
long | getOutPoint () |
| The out-point of the caption. More...
|
|
long | changeInPoint (long newInPoint) |
| Changes the in-point of the caption. More...
|
|
long | changeOutPoint (long newOutPoint) |
| Changes the out-point of the caption. More...
|
|
void | movePosition (long offset) |
| Changes the display position of the caption (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...
|
|
void | setOpacity (float opacity) |
| Set the caption opacity. More...
|
|
float | getOpacity () |
| Get the caption opacity. More...
|
|
String | getCaptionStylePackageId () |
| Gets the caption style package ID. More...
|
|
void | setVideoResolution (NvsVideoResolution resolution) |
| Set the caption's video resolution. More...
|
|
void | setDisableElegantTextHeight (int captionIndex, boolean disableElegantTextHeight) |
| Due to historical factors, Meishe SDK uses the elegant text height feature in the horizontal text layout of the Android platform, which will cause the horizontal layout of the Android platform to be different from the line spacing of other platforms. Setting this property will disable the use of the elegant text height feature for Android horizontal layout. The default value is false. More...
|
|
boolean | getDisableElegantTextHeight (int captionIndex) |
| Get is prohibit elegant text height. More...
|
|
void | setWeight (int captionIndex, int weight) |
| Sets caption weight. More...
|
|
int | getWeight (int captionIndex) |
| Get caption weight. More...
|
|
void | setItalic (int captionIndex, boolean italic) |
| Sets caption italic. More...
|
|
boolean | getItalic (int captionIndex) |
| Is set caption italic. More...
|
|
void | setDrawOutline (boolean drawOutline, int captionIndex) |
| Sets caption stroke. More...
|
|
boolean | getDrawOutline (int captionIndex) |
| Gets the caption stroke status. More...
|
|
void | setOutlineColor (NvsColor outlineColor, int captionIndex) |
| Sets the color of the caption stroke. More...
|
|
NvsColor | getOutlineColor (int captionIndex) |
| Gets the color value of the current caption stroke. More...
|
|
void | setOutlineWidth (float outlineWidth, int captionIndex) |
| Sets the width of the caption stroke. More...
|
|
float | getOutlineWidth (int captionIndex) |
| Gets the width of the current caption stroke. More...
|
|
void | setBackgroundColor (NvsColor backgroundColor, int captionIndex) |
| Set text background color. More...
|
|
NvsColor | getBackgroundColor (int captionIndex) |
| Get the current text background color value. More...
|
|
void | setCurrentKeyFrameTime (long time) |
| Set the compound caption KeyFrameTime. More...
|
|
boolean | setControlPoint (String fxParam, NvsControlPointPair controlPointPair) |
| Set the caption's control point pair. More...
|
|
NvsControlPointPair | getControlPoint (String fxParam) |
| Get the caption's key frame control point pair. More...
|
|
boolean | removeKeyframeAtTime (String fxParam, long time) |
| Remove key frame at a specified time point from key frame list. More...
|
|
boolean | removeAllKeyframe (String fxParam) |
| Remove all key frames from key frame list. More...
|
|
boolean | hasKeyframeList (String fxParam) |
| Check whether the parameter has key frame list or not. More...
|
|
long | findKeyframeTime (String fxParam, long time, int flags) |
| Get key frame at a specified time point. More...
|
|
void | setBold (int captionIndex, boolean bold) |
| Sets whether the caption font is bold. More...
|
|
boolean | getBold (int captionIndex) |
| Gets the state whether the caption font is bold. More...
|
|
NvsFxDescription | getDescription () |
| Gets the description of the Effect. More...
|
|
void | setIntVal (String fxParam, int val) |
| Sets the integer parameter value of the effect. More...
|
|
int | getIntVal (String fxParam) |
| Gets the integer parameter value of the effect. More...
|
|
void | setIntValAtTime (String fxParam, int val, long time) |
| Sets the integer parameter of NvsFx. More...
|
|
int | getIntValAtTime (String fxParam, long time) |
| Gets the integer parameter of NvsFx. More...
|
|
void | setFloatVal (String fxParam, double val) |
| Sets the float parameter value of the effect. More...
|
|
double | getFloatVal (String fxParam) |
| Gets the float parameter value of the effect. More...
|
|
void | setFloatValAtTime (String fxParam, double val, long time) |
| Sets the float parameter of NvsFx. More...
|
|
double | getFloatValAtTime (String fxParam, long time) |
| Gets the float parameter of NvsFx. More...
|
|
void | setBooleanVal (String fxParam, boolean val) |
| Sets the Boolean parameter value of the effect. More...
|
|
boolean | getBooleanVal (String fxParam) |
| Gets the Boolean parameter value of the effect. More...
|
|
void | setBooleanValAtTime (String fxParam, boolean val, long time) |
| Sets the boolean parameter of NvsFx. More...
|
|
boolean | getBooleanValAtTime (String fxParam, long time) |
| Gets the boolean parameter of NvsFx. More...
|
|
void | setStringVal (String fxParam, String val) |
| Sets the string parameter value of the effect. More...
|
|
String | getStringVal (String fxParam) |
| Gets the string parameter value of the effect. More...
|
|
void | setStringValAtTime (String fxParam, String val, long time) |
| Sets the string parameter of NvsFx. More...
|
|
String | getStringValAtTime (String fxParam, long time) |
| Gets the string parameter of NvsFx. More...
|
|
void | setColorVal (String fxParam, NvsColor val) |
| Sets the color parameter value of the effect. More...
|
|
NvsColor | getColorVal (String fxParam) |
| Gets the color parameter value of the effect. More...
|
|
void | setColorValAtTime (String fxParam, NvsColor val, long time) |
| Sets the color parameter of NvsFx. More...
|
|
NvsColor | getColorValAtTime (String fxParam, long time) |
| Gets the color parameter of NvsFx. More...
|
|
void | setPosition2DVal (String fxParam, NvsPosition2D val) |
| Sets the 2D coordinates parameter value of the effect. More...
|
|
NvsPosition2D | getPosition2DVal (String fxParam) |
| Gets the 2D coordinates parameter value of the effect. More...
|
|
void | setPosition2DValAtTime (String fxParam, NvsPosition2D val, long time) |
| Sets the two dimentional coordinates parameter of NvsFx. More...
|
|
NvsPosition2D | getPosition2DValAtTime (String fxParam, long time) |
| Gets the two dimentional coordinates parameter of NvsFx. More...
|
|
void | setPosition3DVal (String fxParam, NvsPosition3D val) |
| Sets the 3D coordinates parameter value of the effect. More...
|
|
NvsPosition3D | getPosition3DVal (String fxParam) |
| Gets the 3D coordinates parameter value of the effect. More...
|
|
void | setPosition3DValAtTime (String fxParam, NvsPosition3D val, long time) |
| Sets the three dimentional coordinates parameter of NvsFx. More...
|
|
NvsPosition3D | getPosition3DValAtTime (String fxParam, long time) |
| Gets the three dimentional coordinates parameter of NvsFx. More...
|
|
void | setMenuVal (String fxParam, String val) |
| Sets the menu parameter value of the effect. More...
|
|
String | getMenuVal (String fxParam) |
| Gets the menu parameter value of the effect. More...
|
|
void | setMenuValAtTime (String fxParam, String val, long time) |
| Sets the menu parameter of NvsFx. More...
|
|
String | getMenuValAtTime (String fxParam, long time) |
| Gets the menu parameter of NvsFx. More...
|
|
void | setArbDataVal (String fxParam, NvsArbitraryData val) |
| Sets custom data parameter value. More...
|
|
void | setArbDataValAtTime (String fxParam, NvsArbitraryData val, long time) |
| Sets custom data parameter value. More...
|
|
boolean | setKeyFrameControlPoint (String fxParam, long time, NvsControlPointPair controlPointPair) |
| Set key frame control point pair. More...
|
|
NvsControlPointPair | getKeyFrameControlPoint (String fxParam, long time) |
| Get key frame control point pair. More...
|
|
boolean | setKeyFrameControlPointMode (String fxParam, long time, NvsControlPointModePair controlPointModePair) |
| Set key frame control point mode pair. More...
|
|
NvsControlPointModePair | getKeyFrameControlPointMode (String fxParam, long time) |
| Get key frame control point mode pair. More...
|
|
void | setFilterIntensity (float intensity) |
| Sets the intensity of the filter. More...
|
|
float | getFilterIntensity () |
| Gets the intensity of the filter. More...
|
|
void | setRegional (boolean isRegional) |
| Sets whether the filter is regional. More...
|
|
boolean | getRegional () |
| Gets whether the filter is regional. More...
|
|
void | setIgnoreBackground (boolean isIgnoreBackground) |
| Sets whether the regional filter ignores Background. More...
|
|
boolean | getIgnoreBackground () |
| Gets whether the regional filter ignores Background. More...
|
|
void | setInverseRegion (boolean isInverseRegion) |
| Sets whether the regional filter inverses region. More...
|
|
boolean | getInverseRegion () |
| Gets whether the regional filter inverses region. More...
|
|
void | setRegion (float[] region) |
| Sets the region of this regional filter. More...
|
|
void | setRegionInfo (NvsMaskRegionInfo info) |
| Sets the region of this regional filter. More...
|
|
void | setRegionInfoAtTime (NvsMaskRegionInfo info, long time) |
| Sets the region of this regional filter at certain time. More...
|
|
void | setRegionalFeatherWidth (float featherWidth) |
| Sets the feather width of this regional filter. More...
|
|
float | getRegionalFeatherWidth () |
| Gets the feather width of this regional filter. More...
|
|
void | setRegionCoordinateSystemType (int type) |
| Sets the coordinate system of the region. More...
|
|
int | getRegionCoordinateSystemType () |
| Gets the coordinate system of the region. More...
|
|
void | setFilterMask (boolean useMask) |
| Sets the mask of the filter. More...
|
|
boolean | getFilterMask () |
| Gets the usage of the filter's mask. More...
|
|
void | release () |
| Releases internal resources. More...
|
|
NvsParticleSystemContext | getParticleSystemContext () |
|
NvsPaintingEffectContext | getPaintingEffectContext () |
|
NvsARFaceContext | getARFaceContext () |
| Get face effect context. More...
|
|
NvsARSceneManipulate | getARSceneManipulate () |
| 获得NvsARSceneManipulate接口 More...
|
|
void | setExprVar (String varName, double varValue) |
| Set the value of the defined parameter in the expression. More...
|
|
double | getExprVar (String varName) |
| Get the value of the defined parameter in the expression. More...
|
|