fontKerning property
CanvasFontKerning
get
fontKerning
The CanvasRenderingContext2D.fontKerning
property of the
Canvas API
specifies how font kerning information is used.
Kerning adjusts how adjacent letters are spaced in a proportional font,
allowing them to edge into each other's visual area if there is space
available.
For example, in well-kerned fonts, the characters AV
, Ta
and We
nest
together and make character spacing more uniform and pleasant to read than
the equivalent text without kerning.
The property corresponds to the
font-kerning
CSS property.
Implementation
external CanvasFontKerning get fontKerning;
set
fontKerning
(CanvasFontKerning value)
Implementation
external set fontKerning(CanvasFontKerning value);