setTextDrawingMode(_:)
Sets the current text drawing mode.
Declaration
func setTextDrawingMode(_ mode: CGTextDrawingMode)Parameters
- mode:
A text drawing mode (such as Fill or Stroke) that specifies how Core Graphics renders individual glyphs in a graphics context. See Cgtextdrawingmode for a complete list.
See Also
Drawing Text
textMatrixtextPositionselectFont(name:size:textEncoding:)setCharacterSpacing(_:)setFont(_:)setFontSize(_:)setAllowsFontSmoothing(_:)setAllowsFontSubpixelPositioning(_:)setAllowsFontSubpixelQuantization(_:)setShouldSmoothFonts(_:)setShouldSubpixelPositionFonts(_:)setShouldSubpixelQuantizeFonts(_:)showGlyphs(g:count:)showGlyphs(_:at:)showGlyphsAtPoint(x:y:glyphs:count:)