public interface AliyunIPasterController
限定符和类型 | 方法和说明 |
---|---|
long |
getDuration()
Get Caption Render Duration in milliseconds
|
android.graphics.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 degree of rotation of the caption
|
android.graphics.RectF |
getSize()
Get the size of the Caption, get the width and height through
RectF.width() and RectF.height() |
long |
getStartTime()
Get Caption Render Start Time in milliseconds
|
int |
getType()
获取贴图类型
|
void |
setDuration(long aDuration)
Set Caption Render Duration in milliseconds
|
void |
setPosition(android.graphics.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 degree)
Set the degree 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 millisecondsandroid.graphics.PointF getPosition()
void setPosition(android.graphics.PointF aPosition)
aPosition
- center point position (x,y), the value of x and y is between [0-1]android.graphics.RectF getSize()
RectF.width()
and RectF.height()
RectF
float getRotate()
void setRotate(float degree)
aRotate
- degree