LineSymbol QML Type

Base type for line symbols. More...

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

Symbol

Inherited By:

SimpleLineSymbol

Properties

Signals

Detailed Description

Note: You cannot declare or create a component of this type in QML code.

Symbols describe how graphics and features look on a map. Different symbols are used with different geometry types. Line symbols are used to display graphics and features that are based on polyline geometries. Subtypes of this type represent specific types of line symbols.

See also JsonSerializable.

Property Documentation

antiAlias : bool

Whether the line should be anti-aliased.


color : color

The color of the line.

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.

If you don't want changes to the symbol color to propagate to some of the symbol layers it contains, you can lock the color (or tint color) for those layers. If a symbol layer is color-locked, changes to the parent symbol will not affect the symbol layer. This also means that the layer will not be considered when determining a consensus color for the symbol as a whole.


width : real

The width of the line, in device independent pixels (DIPs).


Signal Documentation

antiAliasChanged()

Emitted when the antiAlias property changes.

Note: The corresponding handler is onAntiAliasChanged.


colorChanged()

Emitted when the color property changes.

Note: The corresponding handler is onColorChanged.


widthChanged()

Emitted when the width property changes.

Note: The corresponding handler is onWidthChanged.


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