Enum PanoseWeight
- Namespace
- SharpDX.DirectWrite
- Assembly
- SharpDX.Direct2D1.dll
The PanoseWeight enumeration contains values that specify the weight of characters.
public enum PanoseWeight
Fields
Any = 0
Any weight.
Black = 10
Black weight.
Bold = 8
Bold weight.
Book = 5
Book weight.
Demi = 7
Demi weight.
ExtraBlack = 11
Extra black weight.
Heavy = 9
Heavy weight.
Light = 3
Light weight.
Medium = 6
Medium weight.
NoFit = 1
No fit weight.
Nord = 11
Extra black weight.
Thin = 4
Thin weight.
VeryLight = 2
Very light weight.
Remarks
The PanoseWeight values roughly correspond to the FontWeight values by using (panose_weight - 2) * 100 = font_weight.