public class PhotoPasterTrack extends PasterTrack
PasterTrack.Type
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
mNodeKey
the template node key
|
Constructor and Description |
---|
PhotoPasterTrack() |
Modifier and Type | Method and Description |
---|---|
java.util.List<ActionBase> |
getActions()
Gets the action animation list
|
java.util.List<Frame> |
getFrameArray() |
float |
getHeight()
Gets the height of this paster relative to the video.
|
java.lang.String |
getName()
Gets the Paste resource name.
|
java.lang.String |
getNodeKey() |
float |
getRotation()
Gets the rotation angle of this paster.
|
Source |
getSource()
Gets the paster resource.
|
java.util.List<FrameTime> |
getTimeArray()
Gets the timestamps.
|
float |
getTimelineIn()
Gets the time when the clip appears on the stream timeline.
|
float |
getTimelineOut()
Gets the time when the clip disappears on the stream timeline.
|
float |
getWidth()
Gets the width of this paster relative to the video.
|
float |
getX()
Gets the x coordinate of the centroid of this paster relative to the screen resolution.
|
float |
getY()
The y coordinate of the centroid of this paster relative to the screen resolution.
|
boolean |
isMirror()
Gets Whether this paster is flipped.
|
void |
setFrameArray(java.util.List<Frame> frameArray)
Sets the frames of this sticker.
|
void |
setHeight(float height)
Sets the height of this paster relative to the video.
|
void |
setMirror(boolean mirror)
Sets Whether this paster is flipped.
|
void |
setName(java.lang.String name)
Sets the Paste resource name.
|
void |
setNodeKey(java.lang.String key) |
void |
setRotation(float rotation)
Sets the rotation angle of this paster.
|
void |
setSource(Source source)
Sets the paster resource.
|
void |
setTimeArray(java.util.List<FrameTime> timeArray)
Sets the timestamps.
|
void |
setTimelineIn(float timelineIn)
The time when the clip appears on the stream timeline.
|
void |
setTimelineOut(float timelineOut)
Sets the time when the clip disappears on the stream timeline.
|
void |
setWidth(float width)
Sets the width of this paster relative to the video.
|
void |
setX(float x)
Sets the x coordinate of the centroid of this paster relative to the screen resolution.
|
void |
setY(float y)
Sets the y coordinate of the centroid of this paster relative to the screen resolution.
|
java.lang.String |
toString() |
getType, setType
public float getX()
public void setX(float x)
x
- x coordinatepublic float getY()
public void setY(float y)
y
- y coordinatepublic float getWidth()
public void setWidth(float width)
width
- widthpublic float getHeight()
public void setHeight(float height)
height
- heightpublic float getRotation()
public void setRotation(float rotation)
rotation
- rotationpublic boolean isMirror()
public void setMirror(boolean mirror)
mirror
- is mirrorpublic float getTimelineIn()
public void setTimelineIn(float timelineIn)
timelineIn
- timeline inpublic float getTimelineOut()
public void setTimelineOut(float timelineOut)
timelineOut
- timeline outpublic Source getSource()
public void setSource(Source source)
source
- resourcepublic java.util.List<ActionBase> getActions()
public java.util.List<Frame> getFrameArray()
public void setFrameArray(java.util.List<Frame> frameArray)
frameArray
- framespublic java.util.List<FrameTime> getTimeArray()
public void setTimeArray(java.util.List<FrameTime> timeArray)
timeArray
- timestampspublic java.lang.String getName()
public void setName(java.lang.String name)
name
- resource namepublic java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getNodeKey()
public void setNodeKey(java.lang.String key)