Create CanvasContext base class