|
void | setVideoResolution (NvsVideoResolution resolution) |
| Set the sticker's video resolution. 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...
|
|
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...
|
|
String | getModularCaptionContextPackageId () |
| Gets the modular caption context style package ID. More...
|
|
String | getModularCaptionRendererPackageId () |
| Gets the modular caption render style package ID. More...
|
|
String | getModularCaptionAnimationPackageId () |
| Gets the modular caption animation style package ID. More...
|
|
String | getModularCaptionInAnimationPackageId () |
| Gets the modular caption in-animation style package ID. More...
|
|
String | getModularCaptionOutAnimationPackageId () |
| Gets the modular caption out-animation style package ID. More...
|
|
boolean | applyCaptionStyle (String captionStylePackageId) |
| Applys caption style. More...
|
|
boolean | applyCaptionStyle (String captionStylePackageId, int isUseDefaultAssetParam) |
| Applys caption style. More...
|
|
boolean | applyModularCaptionContext (String captionContextPackageId) |
| Applys modular caption context style. More...
|
|
boolean | applyModularCaptionRenderer (String captionRendererPackageId) |
| Applys modular caption render style. More...
|
|
boolean | applyModularCaptionAnimation (String captionAnimationPackageId) |
| Applys modular caption loop-animation style. More...
|
|
boolean | applyModularCaptionInAnimation (String captionInAnimationPackageId) |
| Applys modular caption in-animation style. Notes:please set loop-Animation to null before you set in-animation, otherwise it will NOT works. More...
|
|
boolean | applyModularCaptionOutAnimation (String captionOutAnimationPackageId) |
| Applys modular caption out-animation style.Notes:please set loop-Animation to null before you set out-animation, otherwise it will NOT works. More...
|
|
void | setModularCaptionAnimationPeroid (int periodInMS) |
| Set modular caption Animation Peroid. More...
|
|
int | getModularCaptionAnimationPeroid () |
| Get modular caption Animation Peroid. More...
|
|
void | setModularCaptionInAnimationDuration (int inAnimationDurationInMS) |
| Set modular caption in-animation duration. More...
|
|
int | getModularCaptionInAnimationDuration () |
| Get modular caption in-animation duration. More...
|
|
void | setModularCaptionOutAnimationDuration (int outAnimationDurationInMS) |
| Set modular caption out-animation duration. More...
|
|
int | getModularCaptionOutAnimationDuration () |
| Get modular caption out-animation duration. More...
|
|
void | setText (String text) |
| Sets caption text. More...
|
|
String | getText () |
| Gets caption text. More...
|
|
void | setVerticalLayout (boolean verticalLayout) |
| Sets whether to layout text vertically. More...
|
|
boolean | getVerticalLayout () |
| Gets whether to layout text vertically. More...
|
|
void | setTextAlignment (int textAlign) |
| Sets caption horizontal alignment style. More...
|
|
int | getTextAlignment () |
| Gets caption horizontal alignment style. More...
|
|
void | setTextVerticalAlignment (int verticalTextAlign) |
| Sets caption vertical alignment style. More...
|
|
int | getTextVerticalAlignment () |
| Gets caption vertical alignment style. More...
|
|
void | setBold (boolean bold) |
| Sets caption font bold. More...
|
|
boolean | getBold () |
| Gets the caption font bold state. More...
|
|
void | setWeight (int weight) |
| Sets caption weight. More...
|
|
int | getWeight () |
| Gets the caption weight. More...
|
|
void | setItalic (boolean italic) |
| Sets caption font italic. More...
|
|
boolean | getItalic () |
| Gets the caption italic state. More...
|
|
void | setUnderline (boolean underline) |
| Sets caption under line. More...
|
|
boolean | getUnderline () |
| Gets the caption under line. More...
|
|
void | setLetterSpacingType (int letterSpacingType) |
| Sets caption word spacing type. More...
|
|
int | getLetterSpacingType () |
| Gets caption word spacing type. More...
|
|
void | setLetterSpacing (float letterSpacing) |
| Sets caption word spacing. More...
|
|
float | getLetterSpacing () |
| Gets caption word spacing. More...
|
|
void | setLineSpacing (float lineSpacing) |
| Sets caption line spacing. More...
|
|
float | getLineSpacing () |
| Gets caption line 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 | setShadowFeather (float feather) |
| Sets the feathering degree of the caption shadow. More...
|
|
float | getShadowFeather () |
| Gets the feathering degree of the 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 (boolean actualBoundingRect) |
| Gets caption text rectangle. More...
|
|
void | setTextFrameOriginRect (RectF rc) |
| Set the original frame size of the frame caption. If the current caption is not a frame caption, this function has no effect. You can get origin frame size. More...
|
|
List< PointF > | getCaptionBoundingVertices (int boundingType) |
| Gets the transformed vertices position of the original caption bounding. More...
|
|
void | setSecondaryColor (NvsColor color) |
| Sets caption secondary color. it is only used in karaoke subtitles now. More...
|
|
NvsColor | getSecondaryColor () |
| Gets the current color value of the caption. More...
|
|
boolean | isPanoramic () |
| Determines whether the current caption is a panorama caption. More...
|
|
boolean | isModular () |
| Determines whether the current caption is a modular 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...
|
|
void | setRecordingUserOperation (boolean recordingUserOperation) |
| Sets whether to record user actions. More...
|
|
void | setOpacity (float opacity) |
| Set the caption opacity. More...
|
|
float | getOpacity () |
| Get the caption opacity. More...
|
|
void | setBackgroundColor (NvsColor backgroundColor) |
| Set text background color. More...
|
|
NvsColor | getBackgroundColor () |
| Get the current text background color value. More...
|
|
void | setBackgroundRadius (float radius) |
| Set text background rectangle's corner radius. More...
|
|
float | getBackgroundRadius () |
| Get the current text background rectangle's corner radius value. More...
|
|
void | setCurrentKeyFrameTime (long time) |
| Set the caption KeyFrameTime. More...
|
|
boolean | isFrameCaption () |
| Determine if it is a border caption. More...
|
|
void | setFrameCaptionMaxFontSize (float maxFontSize) |
| Sets the max font size for border caption. Only border caption can use this method. 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 | removeKeyframeAtTime (String fxParam, long time) |
| Remove key frame at time from key frame list. More...
|
|
boolean | removeAllKeyframe (String fxParam) |
| Remove all key frame from key frame list. More...
|
|
boolean | hasKeyframeList (String fxParam) |
| Check has key frame list of param. More...
|
|
long | findKeyframeTime (String fxParam, long time, int flags) |
| Get key frame in list at current time. 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...
|
|