draw abstract method

void draw(
  1. Canvas canvas,
  2. Size size
)

Draws the drawable on the provided canvas of size size.

Implementation

void draw(Canvas canvas, Size size);