Used to draw linear features on a layer. Simple line symbols display graphics using predefined line style patterns such as solid, dash, dot, etc.
Creates a simple line symbol object with some initial values.
Creates a swatch of the symbol. This method will scale the symbol up or down in order to fit it in to the desired width and height of the swatch.
Creates a swatch of the symbol.
Get Multilayer polyline symbol generated from simple line symbol. Multilayer symbol API allows users to create complex and custom symbols with multiple layers of different type of symbology. Simple line symbol offers a factory of styles like dash, dash_dot_dot etc. This helper method exports this symbol to MultilayerPolylineSymbol with SolidStrokeSymbolLayer and predefined collection of DashGeometricEffect.
The color for the line symbol. When getting the color (or tint color) from a symbol, the consensus value (for all layers) is reported. If there is no consensus (one or more layers have different colors), a null value is reported for the color. Likewise, setting a value for color on a symbol will apply that color to all layers the symbol contains.
The style of the simple line symbol. SimpleLineSymbolStyle.Solid if an error occurs.