PeachDrawing.Core

PeachDrawing.Core

PaintFontStyle Enum

Specifies style information applied to text.

public enum PaintFontStyle

Fields

Regular 0

No style bits set.

Bold 1

Bold weight (synthesized if the matched face isn’t already bold enough).

Italic 2

Italic slant (synthesized if the matched face isn’t already italic/oblique).

Underline 4

An underline drawn beneath the text.

Strikeout 8

A line drawn through the middle of the text.

NoSyntheticBold 16

The renderer must not fake bold when the matched face is lighter than the requested weight (CSS font-synthesis-weight: none). Part of the font’s identity: a request with and without it are different fonts and are cached separately.

NoSyntheticItalic 32

The renderer must not fake italic when the matched face is upright (CSS font-synthesis-style: none). Part of the font’s identity, like NoSyntheticBold.