Enum DWriteFontWeight
The font weight enumeration describes common values for degree of blackness or thickness of strokes of characters in a font. Font weight values less than 1 or greater than 999 are considered to be invalid, and they are rejected by font API functions.
Namespace: JeremyAnsel.DirectX.DWrite
Assembly: JeremyAnsel.DirectX.DWrite.dll
Syntax
public enum DWriteFontWeight
Fields
| Name | Description |
|---|---|
| Black | Predefined font weight : Black (900). |
| Bold | Predefined font weight : Bold (700). |
| DemiBold | Predefined font weight : Demi-bold (600). |
| ExtraBlack | Predefined font weight : Extra-black (950). |
| ExtraBold | Predefined font weight : Extra-bold (800). |
| ExtraLight | Predefined font weight : Extra-light (200). |
| Heavy | Predefined font weight : Heavy (900). |
| Light | Predefined font weight : Light (300). |
| Medium | Predefined font weight : Medium (500). |
| Normal | Predefined font weight : Normal (400). |
| Regular | Predefined font weight : Regular (400). |
| SemiBold | Predefined font weight : Semi-bold (600). |
| SemiLight | Predefined font weight : Semi-light (350). |
| Thin | Predefined font weight : Thin (100). |
| UltraBlack | Predefined font weight : Ultra-black (950). |
| UltraBold | Predefined font weight : Ultra-bold (800). |
| UltraLight | Predefined font weight : Ultra-light (200). |