CanvasDrawTextOptions Enumeration |
Specifies text drawing options.
Namespace:
Microsoft.Graphics.Canvas.Text
Assembly:
Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntax [FlagsAttribute]
public enum CanvasDrawTextOptions
Members
| Member name | Value | Description |
---|
| Default | 0 | Text is vertically snapped to pixel boundaries and is not clipped to the layout rectangle. |
| NoPixelSnap | 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. |
See Also