Draws the drawable object on the given canvas with the provided size.
canvas
size
void draw(Canvas canvas, Size size);