Contents

CGTextDrawingMode

Modes for rendering text.

Declaration

enum CGTextDrawingMode

Overview

You provide a text drawing mode constant to the function setTextDrawingMode(_:) to set the current text drawing mode for a graphics context. Text drawing modes determine how Core Graphics renders individual glyphs onscreen. For example, you can set a text drawing mode to draw text filled in or outlined (stroked) or both. You can also create special effects with the text clipping drawing modes, such as clipping an image to a glyph shape.

Topics

Constants

Initializers

See Also

Drawing Text