Enum FontSimulations
- Namespace
- PaintDotNet.DirectWrite
- Assembly
- PaintDotNet.Windows.dll
Specifies algorithmic style simulations to be applied to the font face. Bold and oblique simulations can be combined via bitwise OR operation.
[Flags]
public enum FontSimulations
Fields
None = 0
Indicates that no simulations are applied to the font face.
Bold = 1
Indicates that algorithmic emboldening is applied to the font face. Increases weight by applying a widening algorithm to the glyph outline. This may be used to simulate a bold weight where no designed bold weight is available.
Oblique = 2
Indicates that algorithmic italicization is applied to the font face. Applies obliquing (shear) to the glyph outline. This may be used to simulate an oblique/italic style where no designed oblique/italic style is available.