Hierarchy

  • ExcaliburGraphicsContext2DCanvas

Implements

Constructors

Properties

__ctx: CanvasRenderingContext2D

Meant for internal use only. Access the internal context at your own risk and no guarantees this will exist in the future.

backgroundColor: Color = Color.ExcaliburBlue

Set the background color of the graphics context, default is Color.ExcaliburBlue

debug: ExcaliburGraphicsContext2DCanvasDebug = ...

Access the debug drawing api

snapToPixel: boolean = false

Snaps all drawings to the nearest pixel truncated down, by default false

useDrawSorting: boolean = false

Unused in Canvas implementation

z: number = 0

Unused in Canvas implementation

Accessors

Methods