Skip To Content ArcGIS for Developers Sign In Dashboard

SimpleLineSymbol QML Type

A line symbol based on simple patterns. More...

Import Statement: import Esri.ArcGISRuntime 100.6
Since: Esri.ArcGISRuntime 100.0
Inherits:

LineSymbol

Properties

Signals

Methods

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

markerPlacement : Enums.SimpleLineSymbolMarkerPlacement

The marker placement of the line, which determines which ends the markerStyle is applied to.

This QML property was introduced in Esri.ArcGISRuntime 100.2.

See also Enums.SimpleLineSymbolMarkerPlacement.


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 QML property was introduced in Esri.ArcGISRuntime 100.2.

See also Enums.SimpleLineSymbolMarkerStyle.


style : Enums.SimpleLineSymbolStyle

The style of the line.

See also Enums.SimpleLineSymbolStyle.


Signal Documentation

markerPlacementChanged()

Emitted when the markerPlacement changes.

This QML signal was introduced in Esri.ArcGISRuntime 100.2.


markerStyleChanged()

Emitted when the markerStyle changes.

This QML signal was introduced in Esri.ArcGISRuntime 100.2.


styleChanged()

Emitted when the style property changes.


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 QML method was introduced in Esri::ArcGISRuntime 100.5.



Feedback on this topic?