draw

open fun draw(canvas: Canvas): Boolean(source)

Deprecated

Use draw directly.

Draw into the provided canvas. Assumes that the canvas has been rotated accordingly and the size has been set. The effect will be drawn the full width of X=0 to X=width, beginning from Y=0 and extending to some factor <1.f of height.

Return

true if drawing should continue beyond this frame to continue the animation

Parameters

canvas

Canvas to draw into