require(["esri/symbols/LineSymbol"], function(LineSymbol) { /* code goes here */ });Description Samples
Search for
samplesthat use this class.
Class hierarchyesri/symbols/Symbol |_esri/symbols/LineSymbolSubclasses Properties Methods
Property Details
The type of symbol.
Known values: simplemarkersymbol | picturemarkersymbol | simplelinesymbol | cartographiclinesymbol | simplefillsymbol | picturefillsymbol | textsymbol
Width of line symbol in pixels.
Default value: 1
Method Details
Sets the symbol color.
Parameters: <Color
> color Required Symbol color. Sample:
require([ "esri/Color", ... ], function(Color, ... ) { symbol.setColor(new Color([255,255,0,0.5])); ... });
Sets the LineSymbol width.
Parameters: <Number
> width Required Width of line symbol in pixels. Sample:
require([ "esri/symbols/SimpleLineSymbol", ... ], function(SimpleLineSymbol, ... ) { var outline = new SimpleLineSymbol().setWidth(1); ... });
Converts object to its ArcGIS Server JSON representation.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4