CGTextDrawingMode Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Text drawing mode used by Quartz.
public enum CGTextDrawingMode
type CGTextDrawingMode =
- Inheritance
-
CGTextDrawingMode
Fields
Name | Value | Description |
---|---|---|
Fill | 0 | Perform a Fill operation on the text glyphs. |
Stroke | 1 | Perform a Stroke operation on the text glyphs. |
FillStroke | 2 | Perform a Fill operation followed by a Stroke operation on the text glyphs. |
Invisible | 3 | Does not draw the text, merely updates the text position |
FillClip | 4 | Perform a Fill operation on the text glyphs followed by a clip operation using the current clip path. |
StrokeClip | 5 | |
FillStrokeClip | 6 | Perform a Stroke operation on the text glyphs followed by a clip operation using the current clip path. |
Clip | 7 | Performs a clip operation using the current clip path without drawing the text. |
Remarks
These drawing modes are used with the M:CoreGraphics.CGContext.SetDrawingMode* method and they specify how the glyphs that make up the text should be drawn.