Instance Method
add(_:toPalette:) addAttribute:toPalette: addAttribute_toPalette_
Adds an attribute to the specified palette index.
Declaration
func add(_ attribute: GSPalettes.Attribute, toPalette paletteIdx: UInt)Declaration
- (void) addAttribute:(GSPalettesAttribute) attribute toPalette:(NSUInteger) paletteIdx;Declaration
addAttribute_toPalette_(attribute: GSPalettesAttribute, paletteIdx: int)Parameters
attributeThe attribute to add.
paletteIdxThe index of the palette.