Abstract method to draw the object.
Implementing/extending classes must implement its behavior to draw the desired object.
void drawObject(Canvas canvas, Size size);