Instance Method
paletteColor(_:)paletteColor:paletteColor_
The layer’s palette color from the given palette, or nil when it cannot be resolved.
Declaration
func paletteColor(_ paletteIdx: UInt) -> NSColor?Declaration
- (NSColor *) paletteColor:(NSUInteger) paletteIdx;Declaration
paletteColor_(paletteIdx: int) -> NSColorParameters
paletteIdxThe index of the palette.
Discussion
A palette color entry of * resolves to the text color.
See Also
Resolving Colors
The effective color used to represent the layer, or
nilwhen no color is configured.The effective color palettes for the layer, or
nilwhen none are configured.