textRendering property
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;
Implementation
external set textRendering(CanvasTextRendering value);