Instance Property

foregroundColor

The color to use when drawing the text.

Declaration

var foregroundColor: NSColor? { get set }

Discussion

Unless you are dealing with scriptability, you should not use or modify this property directly.

See Also

Accessing Scriptable Properties

var attributeRuns: [NSTextStorage]

The text storage contents represented as an array of attribute runs.

var paragraphs: [NSTextStorage]

The text storage contents represented as an array of paragraphs.

var words: [NSTextStorage]

The text storage contents represented as an array of words.

var characters: [NSTextStorage]

The text storage contents represented as an array of characters.

var font: NSFont?

The font associated with the text storage.