|
void | setClipAffinityEnabled (boolean enable) |
| Sets whether the affinity between the animated sticker and the clip is on. More...
|
|
boolean | getClipAffinityEnabled () |
| Gets whether the affinity between the animated sticker and the clip is on. More...
|
|
long | getInPoint () |
| Gets animated sticker's in-point on the timeline. More...
|
|
long | getOutPoint () |
| Gets animated sticker's out-point on the timeline. More...
|
|
String | getAnimatedStickerPackageId () |
| Gets animated sticker's package Id. More...
|
|
long | changeInPoint (long newInPoint) |
| Changes the in-point of the animated sticker on the timeline. More...
|
|
long | changeOutPoint (long newOutPoint) |
| Changes the out-point of the animated sticker on the timeline. More...
|
|
void | movePosition (long offset) |
| Changes the display position of the animated sticker on the timeline (the in and out points are offset from the offset value at the same time). More...
|
|
void | setScale (float scale) |
| Sets the zoom value of the animated sticker. More...
|
|
float | getScale () |
| Gets the scale value of the animated sticker. More...
|
|
void | setHorizontalFlip (boolean flip) |
| Sets the horizontal flip of the animated sticker. More...
|
|
boolean | getHorizontalFlip () |
| Gets the horizontal flip state of the animated sticker. More...
|
|
void | setVerticalFlip (boolean flip) |
| Sets the vertical flip of the animated sticker. More...
|
|
boolean | getVerticalFlip () |
| Gets the vertical flip state of the animated sticker. More...
|
|
void | setRotationZ (float angle) |
| Sets the rotation angle of the animated sticker. More...
|
|
float | getRotationZ () |
| Gets the rotation angle value of the animated sticker. More...
|
|
void | setTranslation (PointF translation) |
| Sets the translation of the animated sticker. More...
|
|
PointF | getTranslation () |
| Gets the translation position of the animated sticker. More...
|
|
void | translateAnimatedSticker (PointF translationOffset) |
| Tanslates animated sticker. More...
|
|
void | scaleAnimatedSticker (float scaleFactor, PointF anchor) |
| Scales animated sticker. More...
|
|
void | rotateAnimatedSticker (float angle, PointF anchor) |
| Rotates animated sticker. More...
|
|
void | rotateAnimatedSticker (float angle) |
| Rotates animated stickers with an animated sticker center point as an anchor. More...
|
|
RectF | getOriginalBoundingRect () |
| Gets the original enclosing rectangle of the animated sticker. More...
|
|
List< PointF > | getBoundingRectangleVertices () |
| Gets the vertex position of the original enclosing rectangle of the animated sticker after transformation. More...
|
|
boolean | isPanoramic () |
| Determines whether the current animated sticker is a panorama animated sticker. More...
|
|
void | setCenterPolarAngle (float centerPolarAngle) |
| Sets the polar angle of the center point on the animated sticker. Only valid for panorama animated stickers. More...
|
|
float | getCenterPolarAngle () |
| Gets the polar angle of the center point of the animated sticker. It is only valid for panorama animated stickers. More...
|
|
void | setCenterAzimuthAngle (float centerAzimuthAngle) |
| Sets the azimuth of the center point on the animated sticker. It is only valid for panorama animated stickers. More...
|
|
float | getCenterAzimuthAngle () |
| Gets the azimuth of the center point of the animated sticker. It is only valid for panorama animated stickers. More...
|
|
void | setPolarAngleRange (float polarAngleRange) |
| Sets animated sticker's field angle, which is coplanar with the polar angle. It is only valid for panorama animated stickers. More...
|
|
float | getPolarAngleRange () |
| Gets animated sticker's field angle, which is coplanar with the polar angle. It is only valid for panorama animated stickers. More...
|
|
float | getOrthoAngleRange () |
| Gets the animated sticker’s field angle which is perpendicular to the polar angle. It is only valid for panorama animated stickers. More...
|
|
void | setZValue (float value) |
| Sets the sticker Z value. More...
|
|
float | getZValue () |
| Gets the sticker Z value. More...
|
|
boolean | hasAudio () |
| Checks whether the sticker contains audio. More...
|
|
void | setVolumeGain (float leftVolumeGain, float rightVolumeGain) |
| Sets the sticker volume. More...
|
|
NvsVolume | getVolumeGain () |
| Gets volume information. More...
|
|
long | getDefaultDuration () |
| Gets the default duration of the sticker. 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 animated sticker is sticker with animated effect.
Timeline animation sticker is a kind of landscaping effect used in video editing. Overlaying stickers on the video will produce special effects. When editing a video, users can add and remove animated stickers through the Timeline. If the added sticker position is not what users want, users can also adjust the stickers' position.
Note: The in-point and out-point units of the animated sticker on the timeline are both in microseconds.
- Warning
- In the NvsTimelineAnimatedSticker class, all public APIs are used in the UI thread! ! !