com.esri.core.symbol
Interface Symbol

All Superinterfaces:
Serializable
All Known Implementing Classes:
FillSymbol, LineSymbol, MarkerSymbol, MultiLayerSymbol, PictureMarkerSymbol, SimpleFillSymbol, SimpleLineSymbol, SimpleMarkerSymbol, TextSymbol

public interface Symbol
extends Serializable

Symbols are used to represent "geometries" on the map. Marker symbols are available for point and multipoint geometries. Line symbols are available for polyline geometries. Fill symbols are available for polygon geometries. Symbol is the base symbol interface. To create a symbol, instead, use the following:.

 Points: SimpleMarkerSymbol, PictureMarkerSymbol 
 Lines: SimpleLineSymbol 
 Polygons: SimpleFillSymbol
 Text: TextSymbol
 

Since:
1.0

Method Summary
 Symbol copy()
          Gets a copy of this Symbol object.
 String toJson()
          Converts the symbol to a Json String.
 

Method Detail

toJson

String toJson()
              throws Exception
Converts the symbol to a Json String.

Throws:
Exception
Since:
1.0

copy

Symbol copy()
            throws Exception
Gets a copy of this Symbol object.

Returns:
Symbol object
Throws:
Exception
Since:
1.0


Copyright © 2012. All Rights Reserved.