public class AliyunImageClip extends AliyunClip
AliyunImageClip.Builder
to create new objects of this class.
To use com.aliyun.svideosdk.importer
to import images, create a source image object first and add this object to
com.aliyun.svideosdk.importer
.Modifier and Type | Class and Description |
---|---|
static class |
AliyunImageClip.Builder |
mClipHeight, mClipWidth
Modifier and Type | Method and Description |
---|---|
long |
getDuration()
Gets the display duration of the clip.
|
int |
getImageHeight()
Get the video's height.
|
int |
getImageWidth()
Get the image's width.
|
void |
setDuration(long durationMills)
Sets the display duration of the image.
|
getClipHeight, getClipWidth, getDisplayMode, getId, getMediaType, getSource, getTransition, setDisplayMode, setId, setMediaType, setSource, setTransition
public long getDuration()
public void setDuration(long durationMills)
durationMills
- Unit: milliseconds.public int getImageWidth()
public int getImageHeight()