10.2.5: AGSSymbol Class Reference
10.2.5
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Pages
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 AGSFillSymbol AGSMarkerSymbol AGSSimpleLineSymbol AGSPictureFillSymbol AGSSimpleFillSymbol AGSPictureMarkerSymbol AGSSimpleMarkerSymbol AGSTextSymbol

Instance Methods

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

Properties

AGSColorcolor
 

Method Documentation

- (void) decodeWithJSON: (NSDictionary *)  json
optionalinherited

Decode object from JSON representation.

Parameters
jsonThe JSON representation of the object to be decoded.
Since
1.0
- (NSDictionary *) encodeToJSON
optionalinherited

Encode and return JSON representation for object.

Returns
JSON representation of object.
Since
1.0
- (id) initWithJSON: (NSDictionary *)  json
optionalinherited

Initialize and return object from JSON representation.

Parameters
jsonThe JSON representation of the object to be created.
Returns
Object decoded from JSON representation.
Since
1.0

Reimplemented in AGSWebMapFeatureCollection.

- (AGSImage *) swatchForGeometryType: (AGSGeometryType geometryType
size: (CGSize)  size 

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

Parameters
geometryTypeThe type of the geometry determines what kind of swatch is drawn.
sizeSize of the output swatch.
Returns
Image of the drawn swatch.

Property Documentation

- (AGSColor*) color
readwritenonatomiccopy

Symbol color.

Since
1.0