Text strikethrough color (CGColor
).
SDK
- macOS 10.4+
Framework
- App
Kit
Declaration
const NSAttributed String Key NSAccessibilityStrikethroughColorTextAttribute;
Text strikethrough color (CGColor
).
SDK
Framework
const NSAttributed String Key NSAccessibilityStrikethroughColorTextAttribute;
NSAccessibility Attachment Text Attribute
Text attachment (id
).
NSAccessibility Autocorrected Text Attribute
Autocorrected text (NSNumber
as a Boolean value).
NSAccessibility Background Color Text Attribute
Text background color (CGColor
).
NSAccessibility Font Text Attribute
Font keys (NSDictionary
).
NSAccessibility Foreground Color Text Attribute
Text foreground color (CGColor
).
NSAccessibility Link Text Attribute
Text link (id
).
NSAccessibility Marked Misspelled Text Attribute
Misspelled text that is visibly marked as misspelled (NSNumber
as a Boolean value). If you’re implementing a custom text-editing app, use NSAccessibility
to ensure that VoiceOver properly identifies misspelled text to users.
NSAccessibility Misspelled Text Attribute
Misspelled text that isn’t necessarily visibly marked as misspelled (NSNumber
as a Boolean value). Beginning in macOS 10.9, VoiceOver no longer checks for this attribute; instead, VoiceOver uses NSAccessibility
.
NSAccessibility Shadow Text Attribute
Text shadow (NSNumber
as a Boolean value).
NSAccessibility Strikethrough Text Attribute
Text strikethrough (NSNumber
as a Boolean value).
NSAccessibility Superscript Text Attribute
Text superscript style (NSNumber
). Values > 0 are superscript; values < 0 are subscript.
NSAccessibility Underline Text Attribute
Text underline style (NSNumber
).
NSAccessibility Underline Color Text Attribute
Text underline color (CGColor
).
NSBaseline Offset Attribute Name
Vertical offset for text position.
NSCharacter Shape Attribute Name
An integer value. The value is interpreted as Apple Type Services k
.
NSCursor Attribute Name
The value of this attribute is an NSCursor
object. The default value is the cursor returned by the IBeam
method
NSGlyph Info Attribute Name
The name of an NSGlyph
object.
NSSpelling State Attribute Name
The spelling state attribute.
NSSuperscript Attribute Name
The value of this attribute is an NSNumber
object containing an integer. The default value is 0
.
NSTool Tip Attribute Name
The value of this attribute is an NSString
object containing the tooltip text. The default value is nil
, indicating no tooltip is available.
NSUses Screen Fonts Document Attribute
The value of this attribute is an NSNumber
object containing a Boolean; this attribute corresponds to the uses
method of NSLayout
; if absent, follows the system default setting