hyphenCharacter(forGlyphAt:)
Returns the hyphen character to be inserted after the specified glyph when hyphenation is enabled in the layout manager.
Declaration
func hyphenCharacter(forGlyphAt glyphIndex: Int) -> UTF32CharDiscussion
The typesetter calls this method before hyphenating. A subclass can override this method to return a different hyphen glyph.
See Also
Laying Out Glyphs
boundingBox(forControlGlyphAt:for:proposedLineFragment:glyphPosition:characterIndex:)getLineFragmentRect(_:usedRect:forParagraphSeparatorGlyphRange:atProposedOrigin:)hyphenationFactor(forGlyphAt:)shouldBreakLine(byHyphenatingBeforeCharacterAt:)shouldBreakLine(byWordBeforeCharacterAt:)willSetLineFragmentRect(_:forGlyphRange:usedRect:baselineOffset:)setHardInvalidation(_:forGlyphRange:)