fontStretch property

CanvasFontStretch get fontStretch

The CanvasRenderingContext2D.fontStretch property of the Canvas API specifies how the font may be expanded or condensed when drawing text.

The property corresponds to the font-stretch CSS property when used with keywords (percentage values are not supported).

Implementation

external CanvasFontStretch get fontStretch;
set fontStretch (CanvasFontStretch value)

Implementation

external set fontStretch(CanvasFontStretch value);