UIColor(AGSAdditions) Class Reference


Description

Category that adds the ability to initialize a UIColor with an array of NSUInteger color values.

Defined in:
UIColor+AGSAdditions.h ( ArcGIS library)
Since:
1.0
See also:
AGSCoding

List of all members.

Public Member Functions

(NSArray *) - encodeToRGBA
(id) - initWithRGBA:

Member Function Documentation

- (NSArray *) encodeToRGBA  

Returns an NSArray of the color components of the UIColor.

Since:
1.0
- (id) initWithRGBA: (NSArray *)  colors  

Initialize a UIColor with an array of NSUInteger objects representing color values. The order should be (Red, Green, Blue, Alpha).

Parameters:
colors The array of color values to initialize the object.
Returns:
A new, initialized, UIColor object.
Since:
1.0