getContextAttributes method

CanvasRenderingContext2DSettings getContextAttributes()

The CanvasRenderingContext2D.getContextAttributes() method returns an object that contains attributes used by the context.

Note that context attributes may be requested when creating the context with HTMLCanvasElement.getContext(), but the attributes that are actually supported and used may differ.

Implementation

external CanvasRenderingContext2DSettings getContextAttributes();