Instance Method

actionForControlCharacter(at:)

Returns the action associated with a control character.

Declaration

func actionForControlCharacter(at charIndex: Int) -> NSTypesetterControlCharacterAction

Parameters

charIndex

The index of the control character.

Return Value

The action associated with the control character at charIndex.

See Also

Handling Control Characters

func textTab(forGlyphLocation: CGFloat, writingDirection: NSWritingDirection, maxLocation: CGFloat)

Returns the text tab next closest to a given glyph location within the given parameters.