Interface for a class Font
string
Gets and sets the font color of the text in annotation, label, tooltip, and so on.
string
Gets and sets the font family for the text in annotation, label, tooltip, and so on.
string
Gets and sets the font style for the text in annotation, label, tooltip, and so on.
string
Gets and sets the font weight for the text in annotation, label, tooltip, and so on.
number
Sets and gets the font opacity for the text in annotation, label, tooltip, and so on.
string
Gets and sets the text font size in an annotation, label, tooltip, and so on. The default of the size is ‘16px’.