Instance Property
color
The color label used to organize the glyph, or nil if no color label is assigned.
Declaration
var color: NSColor? { get set }Declaration
@property (nonatomic, retain) NSColor * color;Declaration
pyobjc_instanceMethods.color() -> NSColor
pyobjc_instanceMethods.setColor_(color: NSColor)Discussion
For a standard color label, this resolves colorIndex using the current label color palette. Setting a color stores a custom color label and clears colorIndex.
See Also
Metadata
A free-form note associated with the glyph.
A standard color label, or GSLabelColor.noColorGSLabelColorNoColorGSLabelColorNoColor if the glyph has a custom color label or no color label.