Paints this figure.
This method should only be override by subclass.
@override void paint(Canvas canvas) => painter.paint(canvas, offset);