MultilayerPolylineSymbol class final

A polyline symbol built with multiple layers of symbols to display graphics and features that have polyline geometry.

A MultilayerPolylineSymbol can contain multiple layers that are combined to create different appearances, for example, a solid road with dashed pattern on top to show the center line. The individual layers have their own properties such as width and dash patterns, and can be accessed programmatically through MultilayerSymbol.symbolLayers. For more information about multilayer symbols, refer to Symbol layers.

If you create a MultilayerPolylineSymbol from a collection of SymbolLayer objects, the first symbol layer in the collection will be drawn first, with the second symbol layer on top of the first, and so on. Note that symbol layers in a multilayer symbol are in reverse order of how they appear in the JSON representation.

Inheritance

Constructors

MultilayerPolylineSymbol({required List<SymbolLayer> symbolLayers, SymbolReferenceProperties? referenceProperties})
Creates a multilayer polyline symbol object with symbol layers and SymbolReferenceProperties.
factory

Properties

color Color
The consensus color of all layers in the symbol (excluding those that are color-locked).
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
referenceProperties SymbolReferenceProperties?
The properties change how the multilayer symbol behaves when attached to a renderer.
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sceneSizeUnit SymbolSizeUnits
The size unit of the symbol when rendered in an ArcGISScene.
getter/setter pairinherited
symbolLayers List<SymbolLayer>
The symbol layers of the multilayer symbol.
no setterinherited
width double
The width of the symbol.
getter/setter pair

Methods

clone() ArcGISSymbol
Clones the ArcGISSymbol.
inherited
createSwatch({required double screenScale, double width = 0, double height = 0, Color backgroundColor = Colors.transparent}) Future<ArcGISImage>
Creates a swatch image using the provided width, height, screen scale, and optional background color.
inherited
createSwatchWithGeometry({required double screenScale, required double width, required double height, required Geometry geometry, Color backgroundColor = Colors.transparent}) Future<ArcGISImage>
Creates a swatch image using the provided geometry, width, height, screen scale, and optional background color.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<CaseInsensitiveString, dynamic>
Returns a JSON representation of this Object in the data type used by jsonDecode.
inherited
toJsonString() String
Returns a JSON representation of this Object as a String.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited