AGSSymbol Class Reference


Description

A base class to represent symbols. Symbols describe how graphics look on the map. Different symbols are used for graphics with different geometry types. Marker symbols are used for point and multipoint graphics, Fill symbols are used for polygon graphics, and Line symbols are used for polyline graphics.

Defined in:
AGSSymbol.h ( ArcGIS library)
Since:
1.0
Inheritance diagram for AGSSymbol:
<AGSCoding> AGSCompositeSymbol AGSMarkerSymbol AGSPictureFillSymbol AGSSimpleFillSymbol AGSSimpleLineSymbol AGSTextSymbol AGSPictureMarkerSymbol AGSSimpleMarkerSymbol

List of all members.

Public Member Functions

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

Properties

UIColor * color

Member Function Documentation

- (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]

Symbol color.

Since:
1.0