GridLayer.setFont¶
Summary¶
GridLayer.setFont sets the CSS font used for grid labels. Changing the font invalidates overlay layout.
Syntax¶
Parameters¶
| Name | Type | Required | Description |
|---|---|---|---|
font |
string |
Yes | CSS font shorthand for labels and titles. |
Returns¶
this - The same instance for method chaining.
Type Details¶
The string is assigned to the overlay label elements' CSS font property.