Instance Method
colors(forPalette:)colorsForPalette:colorsForPalette_
Returns the colors for the specified palette index.
Declaration
func colors(forPalette paletteIdx: UInt) -> [NSColor]?Declaration
- (NSArray<NSColor *> *) colorsForPalette:(NSUInteger) paletteIdx;Declaration
colorsForPalette_(paletteIdx: int) -> list[NSColor]Parameters
paletteIdxThe index of the palette.
Return Value
An array of colors for the specified palette, or nil if not found.