A line symbol based on simple patterns. More...
Import Statement: | import Esri.ArcGISRuntime |
Since: | Esri.ArcGISRuntime 100.0 |
Inherits: |
- List of all members, including inherited members
- SimpleLineSymbol is part of QML Type List.
Properties
- markerPlacement : Enums.SimpleLineSymbolMarkerPlacement
- markerStyle : Enums.SimpleLineSymbolMarkerStyle
- style : Enums.SimpleLineSymbolStyle
Signals
Methods
- bool equals(SimpleLineSymbol other)
- 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 graphics using predefined line style patterns such as Enums.SimpleLineSymbolStyleSolid, Enums.SimpleLineSymbolStyleDash, or Enums.SimpleLineSymbolStyleDot.
Example:
Create a SimpleLineSymbol and set its style, color, and width:
SimpleLineSymbol { id: simpleLineSymbol style: Enums.SimpleLineSymbolStyleDash width: 2 color: "green" }
See also JsonSerializable and Symbol.
Property Documentation
[since Esri.ArcGISRuntime 100.2] markerPlacement : Enums.SimpleLineSymbolMarkerPlacement |
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.
[since Esri.ArcGISRuntime 100.2] markerStyle : Enums.SimpleLineSymbolMarkerStyle |
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.
style : Enums.SimpleLineSymbolStyle |
The style of the line.
Enums.SimpleLineSymbolStyleSolid if an error occurs.
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.
styleChanged() |
Emitted when the style property changes.
Note: The corresponding handler is onStyleChanged
.
Method Documentation
|
Compares two SimpleLineSymbols for equality.
Returns whether this instance and other are equivalent.
This method was introduced in Esri.ArcGISRuntime 200.1.
|
Gets a MultilayerPolylineSymbol from a SimpleLineSymbol.
This method allows you to create complex and custom symbols with multiple layers of different types of symbology. Simple line symbol provides a factory of predefined line styles such as dash and dash_dot_dot. This method generates a MultilayerPolylineSymbol with a SolidStrokeSymbolLayer and a predefined collection of DashGeometricEffect.
This method was introduced in Esri::ArcGISRuntime 100.5.