draw abstract method

void draw(
  1. Canvas canvas,
  2. Rect bounds
)

Draws the contents or children of this Drawable to the canvas, using the parentPaint to optionally override the child's paint.

The bounds specify the area to draw in.

Implementation

void draw(Canvas canvas, Rect bounds);