Text-Specific Parameterized Attributes

Parameterized attributes specific to text.

Topics

Constants

static let lineForIndex: NSAccessibility.ParameterizedAttribute

The line number (NSNumber) of the specified character (NSNumber).

static let rangeForLine: NSAccessibility.ParameterizedAttribute

The range of characters (NSValue containing an NSRange value) corresponding to the specified line number (NSNumber).

static let stringForRange: NSAccessibility.ParameterizedAttribute

The substring (NSString) specified by the range (NSValue containing an NSRange value).

static let rangeForPosition: NSAccessibility.ParameterizedAttribute

The range of characters (NSValue containing an NSRange value) composing the glyph at the specified point (NSValue containing an NSPoint value).

static let rangeForIndex: NSAccessibility.ParameterizedAttribute

The full range of characters (NSValue containing an NSRange value), including the specified character, which compose a single glyph (NSNumber).

static let boundsForRange: NSAccessibility.ParameterizedAttribute

The rectangle (NSValue containing an NSRect value) enclosing the specified range of characters (NSValue containing an NSRange value). If the range crosses a line boundary, the returned rectangle will fully enclose all the lines of characters.

static let rtfForRange: NSAccessibility.ParameterizedAttribute

The RTF data (NSData) describing the specified range of characters (NSValue containing an NSRange value).

static let styleRangeForIndex: NSAccessibility.ParameterizedAttribute

The full range of characters (NSValue containing an NSRange value), including the specified character (NSNumber), which have the same style.

static let attributedStringForRange: NSAccessibility.ParameterizedAttribute

Does not use attributes from Appkit/AttributedString.h (NSAttributedString).