AGSCompositeSymbol Class Reference


Description

Instances of this class represent composite symbols. Composite symbols are simply a combination of two or more symbols. Each symbol can represent the same or a different aspect of a graphic.

For example, consider a composite symbol of an AGSSimpleMarkerSymbol and an AGSSimpleFillSymbol. A polygon displayed with this composite symbol would display the marker at each vertex along the polygon, and fill the interior space of each ring in the polygon.

Defined in:
AGSCompositeSymbol.h ( ArcGIS library)
Since:
1.0
Inheritance diagram for AGSCompositeSymbol:
AGSSymbol <AGSCoding>

List of all members.

Public Member Functions

(void) - decodeWithJSON:
(NSDictionary *) - encodeToJSON
(id) - initWithJSON:
(UIImage *) - swatchForGeometryType:size:

Static Public Member Functions

(id) + compositeSymbol

Properties

UIColor * color
NSMutableArray * symbols

Member Function Documentation

+ (id) compositeSymbol  

A method to get an initialized and autoreleased composite symbol.

Returns:
A new, autoreleased, composite symbol object.
Since:
1.0
- (void) decodeWithJSON: (NSDictionary *)  json   [optional, inherited]

Decode object from JSON representation.

Parameters:
json The JSON representation of the object to be decoded.
Since:
1.0
- (NSDictionary *) encodeToJSON   [optional, inherited]

Encode and return JSON representation for object.

Returns:
JSON representation of object.
Since:
1.0
- (id) initWithJSON: (NSDictionary *)  json   [optional, inherited]

Initialize and return object from JSON representation.

Parameters:
json The JSON representation of the object to be created.
Returns:
Object decoded from JSON representation.
Since:
1.0
- (UIImage *) swatchForGeometryType: (AGSGeometryType geometryType
size: (CGSize)  size 

Returns an image that represents a swatch for a particular geometry type.

Parameters:
geometryType The type of the geometry determines what kind of swatch is drawn.
size Size of the output swatch.
Returns:
UIImage of the drawn swatch.

Property Documentation

- (UIColor*) color [read, write, retain, inherited]

Symbol color.

Since:
1.0
- (NSMutableArray*) symbols [read, write, retain]

The individual symbols which make up this composite symbol. The symbols are drawn in the order they are stored in the array. The 0th symbol is drawn first, then the next symbol is drawn on top of it, and so on.

Since:
1.0