public class PaintTrack extends GlobalTrack
GlobalTrack.Type
Constructor and Description |
---|
PaintTrack() |
Modifier and Type | Method and Description |
---|---|
CanvasInfo |
getCanvasInfo()
Gets the canvas information.
|
Source |
getSource()
Gets the paint resource.
|
float |
getTimelineIn()
Gets the time when the paint appears on the stream timeline.
|
float |
getTimelineOut()
Gets the time when the paint disappears on the stream timeline.
|
void |
setCanvasInfo(CanvasInfo canvasInfo)
Sets the canvas information.
|
void |
setSource(Source source)
Sets the paint resource.
|
void |
setTimelineIn(float timelineIn)
Sets the time when the paint appears on the stream timeline.
|
void |
setTimelineOut(float timelineOut)
Sets the time when the paint disappears on the stream timeline.
|
getType, setType
public Source getSource()
public void setSource(Source source)
source
- the paint resource.public float getTimelineIn()
public void setTimelineIn(float timelineIn)
timelineIn
- timeline inpublic float getTimelineOut()
public void setTimelineOut(float timelineOut)
timelineOut
- timeline inpublic CanvasInfo getCanvasInfo()
CanvasInfo
public void setCanvasInfo(CanvasInfo canvasInfo)
canvasInfo
- The canvas information.