Represents a font.
The following tables list the members exposed by the Font type.
Name | Description | |
---|---|---|
Initializes a new instance of the Font class with the specified attributes. |
Name | Description | |
---|---|---|
Gets whether the font is bold. |
||
Gets or sets the style of this font. |
||
Gets whether the font is italic. |
||
Gets or sets the name of this font. |
||
Gets or sets the size of this font. |
||
Gets whether the font is underlined. |
Name | Description | |
---|---|---|
Applies the font properties to a CanvasRenderingContext2D drawing object. |
||
Returns a Font from a JSON object or string describing this font. |
||
Returns a JSON object describing this font. |