com.esri.core.symbol
Interface Symbol

All Superinterfaces:
Serializable
All Known Subinterfaces:
PaintSymbol
All Known Implementing Classes:
FillSymbol, LineSymbol, MarkerSymbol, 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
 


Method Summary
 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


Copyright © 2010. All Rights Reserved.