public interface AliyunIPasterController
Modifier and Type | Method and Description |
---|---|
long |
getDuration()
Get Caption Render Duration in milliseconds
|
PointF |
getPosition()
Get the center point position (x,y) of the Caption, the value of x and y is between [0-1]
|
float |
getRotate()
Get the radian of rotation of the caption
|
RectF |
getSize()
Get the size of the Caption, get the width and height through
android.graphics.RectF#width() and android.graphics.RectF#height() |
long |
getStartTime()
Get Caption Render Start Time in milliseconds
|
int |
getType()
Gets the sticker type.
|
void |
setDuration(long aDuration)
Set Caption Render Duration in milliseconds
|
void |
setPosition(PointF aPosition)
Set the center point position of the caption (x,y), the value of x and y are between [0-1]
|
void |
setRotate(float radian)
Set the radian of rotation of the caption
|
void |
setStartTime(long aStartTime)
Set Caption Render Start Time in milliseconds
|
int getType()
EffectPaster.PASTER_TYPE_GIF
,
EffectPaster.PASTER_TYPE_TEXT
long getStartTime()
void setStartTime(long aStartTime)
aStartTime
- Start Time in millisecondslong getDuration()
void setDuration(long aDuration)
aDuration
- Duration in millisecondsPointF getPosition()
void setPosition(PointF aPosition)
aPosition
- center point position (x,y), the value of x and y is between [0-1]RectF getSize()
android.graphics.RectF#width()
and android.graphics.RectF#height()
android.graphics.RectF
float getRotate()
void setRotate(float radian)
aRotate
- radian