public interface AliyunICanvasController
Modifier and Type | Method and Description |
---|---|
int |
applyPaintCanvas()
Adds doodles to video.
|
void |
cancel()
Undoes all strokes.
|
void |
clear()
Clears the canvas.
|
void |
confirm()
Confirms all strokes.
|
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(Paint paint)
Sets a custom paint.
|
void |
undo()
Undoes the last stroke.
|
int applyPaintCanvas()
View getCanvas()
boolean hasCanvasPath()
void removeCanvas()
void undo()
void cancel()
void confirm()
void clear()
void setPaint(Paint paint)
void setCurrentColor(int color)
void setCurrentSize(float size)
int resetPaintCanvas()
applyPaintCanvas()
was last invoked.void release()