draw

fun draw(canvas: Canvas?): Drawable
fun draw(canvas: Canvas?, x: Float, y: Float): Drawable
fun draw(canvas: Canvas?, matrix: Matrix33?): Drawable

Draws into the specified content. The drawing sequence will be balanced upon return (i.e. the saveLevel() on the canvas will match what it was when draw() was called, and the current matrix and clip settings will not be changed.