FontModel

12 Sep 20251 minute to read

Interface for a class Font

Properties

color string

Gets or sets the color for the text in data label, legend and other texts in maps.

fontFamily string

Gets or sets the font family of the text in data label, legend and other texts in maps.

fontStyle string

Gets or sets the style of the text in data label, legend and other texts in maps.

fontWeight string

Gets or sets the font weight of the text in data label, legend and other texts in maps.

opacity number

Gets or sets the opacity for the text in data label, legend and other texts in maps.

size string

Gets or sets the size for the text in data label, legend and other texts.