public interface AliyunICanvasController
限定符和类型 | 方法和说明 |
---|---|
int |
applyPaintCanvas()
Adds doodles to video.
|
void |
cancel()
Undoes all strokes.
|
void |
clear()
Clears the canvas.
|
void |
confirm()
Confirms all strokes.
|
android.view.View |
getCanvas()
Gets the view that is used as a canvas to create doodles on.
|
boolean |
hasCanvasPath()
Returns whether doodles exist on the canvas.
|
void |
release()
Releases resources.
|
void |
removeCanvas()
Deletes doodles in the video.
|
int |
resetPaintCanvas()
Resets the canvas to the state when
applyPaintCanvas() was last invoked. |
void |
setCurrentColor(int color)
Sets the color of the paint.
|
void |
setCurrentSize(float size)
Sets the size of the paint brush.
|
void |
setPaint(android.graphics.Paint paint)
Sets a custom paint.
|
void |
undo()
Undoes the last stroke.
|
int applyPaintCanvas()
android.view.View getCanvas()
boolean hasCanvasPath()
void removeCanvas()
void undo()
void cancel()
void confirm()
void clear()
void setPaint(android.graphics.Paint paint)
void setCurrentColor(int color)
void setCurrentSize(float size)
int resetPaintCanvas()
applyPaintCanvas()
was last invoked.void release()