FontWeight Enum

FontWeight enumeration

Specifies the different weights of fonts for SVG text elements.

public enum FontWeight

Values

NameValueDescription
Normal0Represents the normal font weight, which is the default weight.
Bold1Represents a bold font weight, typically used for emphasis.
Bolder2Represents a font weight that is bolder than the parent element’s weight.
Lighter3Represents a font weight that is lighter than the parent element’s weight.
W1004Represents the font weight of 100, the thinnest available.
W2005Represents the font weight of 200.
W3006Represents the font weight of 300.
W4007Represents the font weight of 400, equivalent to ’normal'.
W5008Represents the font weight of 500.
W6009Represents the font weight of 600.
W70010Represents the font weight of 700, equivalent to ‘bold’.
W80011Represents the font weight of 800.
W90012Represents the font weight of 900, the boldest available.

See Also