font property
String
get
font
The CanvasRenderingContext2D.font
property of the Canvas 2D API
specifies the current text style to use when drawing text.
This string uses the same syntax as the
CSS font
specifier.
Implementation
external String get font;
set
font
(String value)
Implementation
external set font(String value);