ExcaliburGraphicsContextOptions
Hierarchy
- ExcaliburGraphicsContextOptions
Index
Properties
optionalantialiasing
optionalbackgroundColor
Current clearing color of the context
canvasElement
Target existing html canvas element
optionalenableTransparency
Enable canvas transparency
optionalmultiSampleAntialiasing
Enable or disable multi-sample antialiasing in the internal render buffer.
If true the max number of samples will be used
By default enabled
optionalpixelArtSampler
Enable the sub pixel antialiasing pixel art sampler for nice looking pixel art
optionalpowerPreference
Hint the power preference to the graphics context
optionalsnapToPixel
Snaps the pixel to an integer value (floor)
optionaluseDrawSorting
Feature flag that enables draw sorting will removed in v0.29
optionaluvPadding
UV padding in pixels to use in the internal image rendering
Recommended .25 - .5 of a pixel
Enables antialiasing on the canvas context (smooths pixels with default canvas sampling)