public class VideoTrackClip
extends TrackClip
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
mNodeKey
the template node key
|
static int |
TYPE_IMAGE |
static int |
TYPE_VIDEO |
Constructor and Description |
---|
VideoTrackClip() |
Modifier and Type | Method and Description |
---|---|
java.util.List<ActionBase> |
getActions()
Gets the animation action list.
|
float |
getBrightness()
Gets the brightness of the video.
|
float |
getContrast()
Gets the contrast of the video.
|
float |
getDuration()
Gets the duration of the video.
|
java.util.List<Effect> |
getEffects()
Gets the effect list.
|
int |
getHeight()
Gets the height of video.
|
boolean |
getHorizontalFlip()
Gets flip config value of video
|
float |
getIn()
Gets the time when this video appears.
|
java.lang.String |
getNodeKey() |
float |
getOut()
Gets the time when this video disappears.
|
int |
getRotation()
Gets the angle of rotation.
|
float |
getSaturation()
Gets the saturation of the video.
|
float |
getSharpness()
Gets the sharpness of the video.
|
Source |
getSource()
Gets the video resource.
|
TransitionBase |
getTransition() |
int |
getType()
Gets the video track clip type.
|
float |
getVignette()
Sets the vignette of the video.
|
int |
getWidth()
Gets the width of video.
|
boolean |
isFileExists() |
boolean |
isHorizontalFlip()
whether horizontal flip video.
|
void |
setBrightness(float brightness)
Sets the brightness of the video.
|
void |
setContrast(float contrast)
Sets the contrast of the video.
|
void |
setDuration(float duration)
Sets the duration of the video.
|
void |
setHeight(int height)
Sets the height of video.
|
void |
setHorizontalFlip(boolean flip)
Sets video horizontal flip or no
|
void |
setIn(float in)
Sets the time when this video appears.
|
void |
setNodeKey(java.lang.String key) |
void |
setOut(float out)
Sets the time when this video disappears.
|
void |
setRotation(int rotation)
Sets the angle of rotation.
|
void |
setSaturation(float saturation)
Sets the saturation of the video.
|
void |
setSharpness(float sharpness)
Sets the sharpness of the video.
|
void |
setSource(Source source)
Sets the video resource.
|
void |
setTransition(TransitionBase transition) |
void |
setType(int type)
Sets the video track clip type.
|
void |
setVignette(float vignette)
Gets the vignette of the video.
|
void |
setWidth(int width)
Sets the width of video.
|
public static final int TYPE_VIDEO
public static final int TYPE_IMAGE
protected java.lang.String mNodeKey
public java.util.List<ActionBase> getActions()
public int getType()
public void setType(int type)
type
- typepublic Source getSource()
public void setSource(Source source)
source
- video resourcepublic float getIn()
public void setIn(float in)
in
- inpublic float getOut()
public void setOut(float out)
out
- outpublic float getDuration()
public void setDuration(float duration)
duration
- durationpublic int getWidth()
public void setWidth(int width)
width
- widthpublic int getHeight()
public void setHeight(int height)
height
- heightpublic int getRotation()
public void setRotation(int rotation)
rotation
- rotationpublic float getBrightness()
public void setBrightness(float brightness)
brightness
- brightnesspublic float getContrast()
public void setContrast(float contrast)
contrast
- contrastpublic float getVignette()
public void setVignette(float vignette)
vignette
- vignettepublic float getSaturation()
public void setSaturation(float saturation)
saturation
- saturationpublic float getSharpness()
public void setSharpness(float sharpness)
sharpness
- sharpnesspublic boolean isHorizontalFlip()
public void setHorizontalFlip(boolean flip)
flip
- flip or nopublic boolean getHorizontalFlip()
public java.util.List<Effect> getEffects()
public TransitionBase getTransition()
public void setTransition(TransitionBase transition)
public boolean isFileExists()
public java.lang.String getNodeKey()
public void setNodeKey(java.lang.String key)