GSGradient Class Reference
Instance Methods
indexOfObjectInColors:
Returns the index of color in colors
- (NSUInteger)indexOfObjectInColors:(NSArray
*)color
Parameters
- color
-
the object
Return Value
the index of the object
insertObject:inColorsAtIndex:
Inserts the color at index into colors
- (void)insertObject:(NSArray *)color
inColorsAtIndex:(NSUInteger)idx
Parameters
- color
-
The object to insert
- idx
-
The index
objectInColorsAtIndex:
Returns object at idx in colors
- (NSArray
*)objectInColorsAtIndex:(NSUInteger)idx
Parameters
- idx
-
The index
Return Value
the object at index
propertyListValueFormat:
Returns the content of the object to store it in pList.
-
(id)propertyListValueFormat:(GSFormatVersion)formatVersion
Parameters
- format
-
the version of the dict
Discussion
This is used to store the data in the .glyphs file.