Enum FontWeight
- Namespace
- PaintDotNet.DirectWrite
- Assembly
- PaintDotNet.Windows.dll
Represents the density of a typeface, in terms of the lightness or heaviness of the strokes.
The enumerated values correspond to the usWeightClass definition in the OpenType specification.
The usWeightClass represents an integer value between 1 and 999. Lower values indicate lighter
weights; higher values indicate heavier weights.
See DWRITE_FONT_WEIGHT
for more information.
public enum FontWeight
Fields
Thin = 100
ExtraLight = 200
UltraLight = 200
Light = 300
Normal = 400
Regular = 400
Medium = 500
DemiBold = 600
SemiBold = 600
Bold = 700
ExtraBold = 800
UltraBold = 800
Black = 900
Heavy = 900
ExtraBlack = 950
UltraBlack = 950