How is make view become canvas in java extension

example in view
@SimpleFunction

public void Start(AndroidViewComponent view, float x, float y, int duration){

how is in canvas like this
@SimpleFunction
private void drawTree(Canvas canvas, float scale, float baseX, float baseY,
int colorTrunk, int colorBranch) {

what is name AndroidViewComponent for canvas
is true if change with AndroidCanvasComponent?

1 Like