Ctx2D: CanvasRenderingContext2D | OffscreenCanvasRenderingContext2D

represents either a regular 2d html canvas context, or an offscreen 2d canvas's context.