public class StickerTrackItem extends AbstractModel
header, skipSign
Constructor and Description |
---|
StickerTrackItem() |
StickerTrackItem(StickerTrackItem source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
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 material for sticker segment, which can be:
ID of VOD media files
Download URL of other media files
Note: when a download URL of other media files is used as the material source and access control (such as hotlink protection) is enabled, the URL needs to carry access control parameters (such as hotlink protection signature).
|
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 material for sticker segment, which can be:
ID of VOD media files
Download URL of other media files
Note: when a download URL of other media files is used as the material source and access control (such as hotlink protection) is enabled, the URL needs to carry access control parameters (such as hotlink protection signature).
|
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, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public StickerTrackItem()
public StickerTrackItem(StickerTrackItem source)
public String getSourceMedia()
public void setSourceMedia(String SourceMedia)
SourceMedia
- Source of media material for sticker segment, which can be:
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 © 2024. All rights reserved.