Simple line symbols can be used to symbolize polyline geometries or outlines for polygon fills.

Referenced by: Dot Density Renderer, GeoRSS Layer (GeoRSS), Picture Fill Symbols (esriPFS), Pie Chart Renderer, Simple Fill Symbol (esriSFS), Simple Marker Symbol (esriSMS), symbol, Video Layer Drawing Info

Properties

PropertyDetails
colorColor is represented as a four-element array. The four elements represent values for red, green, blue, and alpha in that order. Values range from 0 through 255. If color is undefined for a symbol, the color value is null.
markerRepresents markers placed along the line.
styleString value representing the simple line symbol type.
Valid values: esriSLSDash, esriSLSDashDot, esriSLSDashDotDot, esriSLSDot, esriSLSLongDash, esriSLSLongDashDot, esriSLSNull, esriSLSShortDash, esriSLSShortDashDot, esriSLSShortDashDotDot, esriSLSShortDot, esriSLSSolid
typeSpecifies the type of symbol used.
Valid value of this property esriSLS
widthNumeric value indicating the width of the line in points.

Simple Line Symbol Example

{
"type": "esriSLS",
"style": "esriSLSDot",
"color": [
115,
76,
0,
255
],
"width": 1
}