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 = 100ExtraLight = 200UltraLight = 200Light = 300Normal = 400Regular = 400Medium = 500DemiBold = 600SemiBold = 600Bold = 700ExtraBold = 800UltraBold = 800Black = 900Heavy = 900ExtraBlack = 950UltraBlack = 950