A line symbol based on simple patterns. More...
Import Statement: | import Esri.ArcGISRuntime 100.15 |
Since: | Esri.ArcGISRuntime 100.0 |
Inherits: |
Properties
- markerPlacement : Enums.SimpleLineSymbolMarkerPlacement
- markerStyle : Enums.SimpleLineSymbolMarkerStyle
- style : Enums.SimpleLineSymbolStyle
Signals
Methods
- MultilayerPolylineSymbol toMultilayerSymbol()
Detailed Description
Symbols describe how graphics and features look on a map. Different symbols are used with different geometry types. Instances of this type represent simple line symbols. Line symbols are used to display graphics and features which are based on polyline geometries. Simple line symbols display predefined line style patterns such as solid, dash, dot, and so on.
Example:
Create a SimpleLineSymbol and set its style, color, and width:
SimpleLineSymbol { id: simpleLineSymbol style: Enums.SimpleLineSymbolStyleDash width: 2 color: "green" }
See also JsonSerializable.
Property Documentation
The marker placement of the line, which determines which ends the markerStyle is applied to.
This property was introduced in Esri.ArcGISRuntime 100.2.
See also Enums.SimpleLineSymbolMarkerPlacement.
The marker style of the line, which is applied to the ends of the line symbol.
Note: The Enums.SimpleLineSymbolMarkerStyleArrow marker style is not supported in 3D scenes with Enums.GraphicsRenderingModeDynamic graphics rendering mode. It will not render correctly.
This property was introduced in Esri.ArcGISRuntime 100.2.
See also Enums.SimpleLineSymbolMarkerStyle.
The style of the line.
See also Enums.SimpleLineSymbolStyle.
Signal Documentation
Emitted when the markerPlacement changes.
Note: The corresponding handler is onMarkerPlacementChanged
.
This signal was introduced in Esri.ArcGISRuntime 100.2.
Emitted when the markerStyle changes.
Note: The corresponding handler is onMarkerStyleChanged
.
This signal was introduced in Esri.ArcGISRuntime 100.2.
Emitted when the style property changes.
Note: The corresponding handler is onStyleChanged
.
Method Documentation
MultilayerPolylineSymbol toMultilayerSymbol() |
Returns Multilayer polyline symbol generated from simple line symbol.
This helper method exports this symbol to MultilayerPolylineSymbol with SolidStrokeSymbolLayer and predefined collection of DashGeometricEffect.
This method was introduced in Esri::ArcGISRuntime 100.5.