SimpleLineSymbol QML Type

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

Import Statement: import Esri.ArcGISRuntime 100.15
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 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 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.

Note: The corresponding handler is onMarkerPlacementChanged.

This signal was introduced in Esri.ArcGISRuntime 100.2.


markerStyleChanged()

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

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.


Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.