Contents

accessibilityRange(for:)

Returns the range of characters for the glyph at the specified point.

Declaration

func accessibilityRange(for point: NSPoint) -> NSRange

Parameters

  • point:

    A point in screen coordinates.

Return Value

The range of characters that make up the glyph at the given point.

See Also

Configuring text elements