textRendering property

CanvasTextRendering get textRendering

The CanvasRenderingContext2D.textRendering property of the Canvas API provides information to the rendering engine about what to optimize for when rendering text.

The values correspond to the SVG text-rendering attribute (and CSS text-rendering property).

Implementation

external CanvasTextRendering get textRendering;
set textRendering (CanvasTextRendering value)

Implementation

external set textRendering(CanvasTextRendering value);