dojo.require("esri.symbols.Symbol");
Description
(Added at v1.0)
Symbols are used to display points, lines, and polygons on the graphics layer.
Symbol is the base symbol class and has no constructor. Instead, use the following:
Samples
Search for
samples that use this class.
Subclasses
Properties
Methods
Property Details
The type of symbol.
Known values: simplemarkersymbol | picturemarkersymbol | simplelinesymbol | cartographiclinesymbol | simplefillsymbol | picturefillsymbol | textsymbol
Method Details
Sets the symbol color.
Parameters:
<Color > color |
Required |
Symbol color. |
Sample:
symbol.setColor(new esri.Color([255,255,0,0.5]));
Converts object to its ArcGIS Server JSON representation.