Enum DrawTextOptions
- Namespace
- PaintDotNet.Direct2D1
- Assembly
- PaintDotNet.Windows.dll
Specifies options for drawing text.
D2D1_DRAW_TEXT_OPTIONS
[Flags]
public enum DrawTextOptions
Fields
None = 0
Text is vertically snapped to pixel boundaries and is not clipped to the layout rectangle.
NoSnap = 1
Text is not vertically snapped to pixel boundaries. This setting is recommended for text that is being animated.
Clip = 2
Text is clipped to the layout rectangle.
EnableColorFont = 4
Text is rendered using color versions of glyphs, if defined by the font.
DiableColorBitmapSnapping = 8
Bitmap origins of color glyph bitmaps are not snapped.