Internal
__ctxSet the background color of the graphics context, default is Color.ExcaliburBlue
Access the debug drawing api
Snaps all drawings to the nearest pixel truncated down, by default false
Readonly
useUnused in Canvas implementation
Unused in Canvas implementation
Enable smoothed drawing (also known as anti-aliasing), by default false
Enable smoothed drawing (also known as anti-aliasing), by default false
Add a post processor to the graphics context
Post processors are run in the order they were added.
Draw an image to the Excalibur Graphics context at an x and y coordinate using the images width and height
Draw an image to the Excalibur Graphics context at an x and y coordinate with a specific width and height
Draw an image to the Excalibur Graphics context specifying the source image coordinates (sx, sy, swidth, sheight) and to a specific destination on the context (dx, dy, dwidth, dheight)
Optional
swidth: numberOptional
sheight: numberOptional
dx: numberOptional
dy: numberOptional
dwidth: numberOptional
dheight: numberGets the current transform
Multiplies the current transform by a matrix
Remove a specific post processor from the graphics context
Update the context with the current viewport dimensions (used in resizing)
Meant for internal use only. Access the internal context at your own risk and no guarantees this will exist in the future.