Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ContextOptions

Hierarchy

  • ContextOptions

Index

Properties

Optional alpha

alpha: boolean

Boolean that indicates if the canvas contains an alpha buffer.

Optional antialias

antialias: boolean

Boolean that indicates whether or not to perform anti-aliasing.

Optional depth

depth: boolean

Boolean that indicates that the drawing buffer has a depth buffer of at least 16 bits.

Optional failIfMajorPerformanceCaveat

failIfMajorPerformanceCaveat: boolean

Boolean that indicates if a context will be created if the system performance is low.

Optional premultipliedAlpha

premultipliedAlpha: boolean

Boolean that indicates that the page compositor will assume the drawing buffer contains colors with pre-multiplied alpha.

Optional preserveDrawingBuffer

preserveDrawingBuffer: boolean

If the value is true the buffers will not be cleared and will preserve their values until cleared or overwritten by the author.

Optional stencil

stencil: boolean

Boolean that indicates that the drawing buffer has a stencil buffer of at least 8 bits.

Generated using TypeDoc