Renders the custom drawing logic on the given Canvas and Size.
This method must be overridden by subclasses.
void render(Canvas canvas, Size size);