Declaration

func colors(forPalette paletteIdx: UInt) -> [NSColor]?

Declaration

- (NSArray<NSColor *> *) colorsForPalette:(NSUInteger) paletteIdx;

Declaration

colorsForPalette_(paletteIdx: int) -> list[NSColor]

Parameters

paletteIdx

The index of the palette.

Return Value

An array of colors for the specified palette, or nil if not found.