FontWeight Enum
FontWeight enumeration
Specifies the different weights of fonts for SVG text elements.
public enum FontWeight
Values
Name | Value | Description |
---|---|---|
Normal | 0 | Represents the normal font weight, which is the default weight. |
Bold | 1 | Represents a bold font weight, typically used for emphasis. |
Bolder | 2 | Represents a font weight that is bolder than the parent element’s weight. |
Lighter | 3 | Represents a font weight that is lighter than the parent element’s weight. |
W100 | 4 | Represents the font weight of 100, the thinnest available. |
W200 | 5 | Represents the font weight of 200. |
W300 | 6 | Represents the font weight of 300. |
W400 | 7 | Represents the font weight of 400, equivalent to ’normal'. |
W500 | 8 | Represents the font weight of 500. |
W600 | 9 | Represents the font weight of 600. |
W700 | 10 | Represents the font weight of 700, equivalent to ‘bold’. |
W800 | 11 | Represents the font weight of 800. |
W900 | 12 | Represents the font weight of 900, the boldest available. |
See Also
- namespace Aspose.Svg.Builder
- assembly Aspose.SVG