Module properties

Source
Expand description

Properties that specify which font in a family to use: e.g. style, weight, and stretchiness.

Much of the documentation in this modules comes from the CSS 3 Fonts specification: https://drafts.csswg.org/css-fonts-3/

Structs§

Properties
Properties that specify which font in a family to use: e.g. style, weight, and stretchiness.
Stretch
The width of a font as an approximate fraction of the normal width.
Weight
The degree of blackness or stroke thickness of a font. This value ranges from 100.0 to 900.0, with 400.0 as normal.

Enums§

Style
Allows italic or oblique faces to be selected.