Skip to content

Vizzu / Modules / types/styles / Font

Interface: Font

types/styles.Font

Font properties.

Hierarchy

Properties

fontFamily

Optional fontFamily: null | string

The family of the font. If not set, it inherits the root style font family.


fontSize

Optional fontSize: null | Length

The size of the font. Percentage values are relative to the root style font size.


fontStyle

Optional fontStyle: null | "normal" | "italic" | "oblique"

The style of the font.


fontWeight

Optional fontWeight: null | number | "bold" | "normal"

The weight of the font, numbers use the same scale as CSS.