public class StickerTrackItem extends AbstractModel
Constructor and Description |
---|
StickerTrackItem() |
Modifier and Type | Method and Description |
---|---|
String |
getCoordinateOrigin()
Get Origin position.
|
Float |
getDuration()
Get Sticker duration in seconds.
|
String |
getHeight()
Get Sticker height.
|
ImageTransform[] |
getImageOperations()
Get Operation on sticker such as image rotation.
|
String |
getSourceMedia()
Get Source of media file for sticker material, which can be an ID of a VOD file or URL of another file.
|
Float |
getStartTime()
Get Start time of sticker on track in seconds.
|
String |
getWidth()
Get Sticker width.
|
String |
getXPos()
Get The horizontal position of the origin of the sticker relative to the origin of the canvas.
|
String |
getYPos()
Get The vertical position of the origin of the sticker relative to the origin of the canvas.
|
void |
setCoordinateOrigin(String CoordinateOrigin)
Set Origin position.
|
void |
setDuration(Float Duration)
Set Sticker duration in seconds.
|
void |
setHeight(String Height)
Set Sticker height.
|
void |
setImageOperations(ImageTransform[] ImageOperations)
Set Operation on sticker such as image rotation.
|
void |
setSourceMedia(String SourceMedia)
Set Source of media file for sticker material, which can be an ID of a VOD file or URL of another file.
|
void |
setStartTime(Float StartTime)
Set Start time of sticker on track in seconds.
|
void |
setWidth(String Width)
Set Sticker width.
|
void |
setXPos(String XPos)
Set The horizontal position of the origin of the sticker relative to the origin of the canvas.
|
void |
setYPos(String YPos)
Set The vertical position of the origin of the sticker relative to the origin of the canvas.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public String getSourceMedia()
public void setSourceMedia(String SourceMedia)
SourceMedia
- Source of media file for sticker material, which can be an ID of a VOD file or URL of another file.public Float getDuration()
public void setDuration(Float Duration)
Duration
- Sticker duration in seconds.public Float getStartTime()
public void setStartTime(Float StartTime)
StartTime
- Start time of sticker on track in seconds.public String getCoordinateOrigin()
public void setCoordinateOrigin(String CoordinateOrigin)
CoordinateOrigin
- Origin position. Valid values:
public String getXPos()
public void setXPos(String XPos)
XPos
- The horizontal position of the origin of the sticker relative to the origin of the canvas. % and px formats are supported:
public String getYPos()
public void setYPos(String YPos)
YPos
- The vertical position of the origin of the sticker relative to the origin of the canvas. % and px formats are supported:
public String getWidth()
public void setWidth(String Width)
Width
- Sticker width. % and px formats are supported:
public String getHeight()
public void setHeight(String Height)
Height
- Sticker height. % and px formats are supported:
public ImageTransform[] getImageOperations()
public void setImageOperations(ImageTransform[] ImageOperations)
ImageOperations
- Operation on sticker such as image rotation.
Note: this field may return null, indicating that no valid values can be obtained.Copyright © 2020. All rights reserved.