iOS Guides | Samples

CoreGraphics.CGTextDrawingMode Enumeration

Text drawing mode used by Quartz.

Syntax

public enum CGTextDrawingMode

Remarks

These drawing modes are used with the CGContext.SetDrawingMode method and they specify how the glyphs that make up the text should be drawn.   

Members

Member NameDescription
ClipPerforms a clip operation using the current clip path without drawing the text.
FillPerform a Fill operation on the text glyphs.
FillClipPerform a Fill operation on the text glyphs followed by a clip operation using the current clip path.
FillStrokePerform a Fill operation followed by a Stroke operation on the text glyphs.
FillStrokeClipPerform a Stroke operation on the text glyphs followed by a clip operation using the current clip path.
InvisibleDoes not draw the text, merely updates the text position
StrokePerform a Stroke operation on the text glyphs.
StrokeClip

Requirements

Namespace: CoreGraphics
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0

The members of CoreGraphics.CGTextDrawingMode are listed below.

See Also: Enum

Public Fields

ClipCGTextDrawingMode. Performs a clip operation using the current clip path without drawing the text.
FillCGTextDrawingMode. Perform a Fill operation on the text glyphs.
FillClipCGTextDrawingMode. Perform a Fill operation on the text glyphs followed by a clip operation using the current clip path.
FillStrokeCGTextDrawingMode. Perform a Fill operation followed by a Stroke operation on the text glyphs.
FillStrokeClipCGTextDrawingMode. Perform a Stroke operation on the text glyphs followed by a clip operation using the current clip path.
InvisibleCGTextDrawingMode. Does not draw the text, merely updates the text position
StrokeCGTextDrawingMode. Perform a Stroke operation on the text glyphs.
StrokeClipCGTextDrawingMode.