Class
GSPalettes
This class defines the palettes object which conforms to the GSItemProtocol and NSCopying.
Declaration
class GSPalettesDeclaration
@interface GSPalettes : NSObjectDeclaration
class GSPalettes(NSObject)Topics
Structures
Enumeration defining palette attributes.
Instance Properties
The number of colors.
The number of palettes.
Instance Methods
Adds a color to the palettes.
Adds an attribute to the specified palette index.
Adds a palette to the palettes.
Returns the color for the specified palette and color indices.
Returns the colors for the specified palette index.
Returns the display name for the specified palette index.
Checks if the specified palette index has the given attribute.
Returns
NSNotFoundwhen no palette has the given attribute.Returns the name for the specified color index.
Returns the name for the specified palette index.
Returns the palette at the specified index.
Removes an attribute from the specified palette index.
Removes the color at the specified index.
Removes the colors at the specified indexes.
Removes the palette at the specified index.
Sets the color for the specified palette and color indices.
Sets the name for the specified color index.
Sets the name for the specified palette index.
Returns the same structure as
-propertyListValueFormat:with the current format, but colors are represented asGSPaletteColorobjects.
Topics
Instance Properties
The number of colors.
The number of palettes.
Instance Methods
Adds a color to the palettes.
Adds an attribute to the specified palette index.
Adds a palette to the palettes.
Returns the color for the specified palette and color indices.
Returns the colors for the specified palette index.
Returns the display name for the specified palette index.
Checks if the specified palette index has the given attribute.
Returns
NSNotFoundwhen no palette has the given attribute.Returns the name for the specified color index.
Returns the name for the specified palette index.
Returns the palette at the specified index.
Removes an attribute from the specified palette index.
Removes the color at the specified index.
Removes the colors at the specified indexes.
Removes the palette at the specified index.
Sets the color for the specified palette and color indices.
Sets the name for the specified color index.
Sets the name for the specified palette index.
Returns the same structure as
-propertyListValueFormat:with the current format, but colors are represented asGSPaletteColorobjects.
Other
Enumeration defining palette attributes.
Relationships
Inherits From
NSObject
Conforms To
NSCopying- GSItemProtocol
ObjectiveC.NSObjectProtocolSwift.CVarArgSwift.CustomDebugStringConvertibleSwift.CustomStringConvertibleSwift.EquatableSwift.Hashable
Relationships
Inherits From
NSObject
Conforms To
- GSItemProtocol
NSCopying