public interface AliyunIPasterController
| Modifier and Type | Method and Description |
|---|---|
long |
getDuration()
Get Caption Render Duration in microsecond
|
long |
getDuration(java.util.concurrent.TimeUnit timeUnit)
Get Caption Render Duration
|
PointF |
getPosition()
Get the center point position (x,y) of the Sticker, unit : pixel
|
float |
getRotate()
Get the radian of rotation of the sticker
|
RectF |
getSize()
Get the size of the Sticker, get the width and height through
android.graphics.RectF#width() and android.graphics.RectF#height(), unit : pixel |
long |
getStartTime()
Get Caption Render Start Time in microsecond
|
long |
getStartTime(java.util.concurrent.TimeUnit timeUnit)
Get Caption Render Start Time
|
int |
getType()
Gets the sticker type.
|
void |
setDuration(long duration)
Set Caption Render Duration in microsecond
|
void |
setDuration(long duration,
java.util.concurrent.TimeUnit timeUnit)
Set Caption Render Duration
|
void |
setPosition(PointF aPosition)
Set the center point position of the sticker (x,y), unit : pixel
|
void |
setRotate(float radian)
Set the radian of rotation of the sticker
|
void |
setStartTime(long startTime)
Set Caption Render Start Time in microsecond
|
void |
setStartTime(long startTime,
java.util.concurrent.TimeUnit timeUnit)
Set Caption Render Start Time
|
int getType()
EffectPaster.PASTER_TYPE_GIF,
EffectPaster.PASTER_TYPE_CAPTION,
EffectPaster.PASTER_TYPE_IMAGElong getStartTime()
long getStartTime(java.util.concurrent.TimeUnit timeUnit)
Added in v3.27.0
timeUnit - Time Unitvoid setStartTime(long startTime)
startTime - Start Time in microsecondvoid setStartTime(long startTime,
java.util.concurrent.TimeUnit timeUnit)
Added in v3.27.0
startTime - Start TimetimeUnit - Time Unitlong getDuration()
long getDuration(java.util.concurrent.TimeUnit timeUnit)
Added in v3.27.0
timeUnit - Time Unitvoid setDuration(long duration)
duration - Duration in microsecondvoid setDuration(long duration,
java.util.concurrent.TimeUnit timeUnit)
Added in v3.27.0
duration - DurationtimeUnit - Time UnitPointF getPosition()
void setPosition(PointF aPosition)
aPosition - center point position (x,y)RectF getSize()
android.graphics.RectF#width() and android.graphics.RectF#height(), unit : pixelandroid.graphics.RectFfloat getRotate()
void setRotate(float radian)
radian - radian