SimpleLineSymbol class final

Uses predefined patterns and colors to symbolize graphics and features that have polyline geometry.

Simple line symbols display graphics using predefined line style patterns such as SimpleLineSymbolStyle.solid, SimpleLineSymbolStyle.dash, or SimpleLineSymbolStyle.dot.

Inheritance

Constructors

SimpleLineSymbol({SimpleLineSymbolStyle style = SimpleLineSymbolStyle.solid, Color color = const Color(0xFFD3D3D3), double width = 1.0, SimpleLineSymbolMarkerStyle markerStyle = SimpleLineSymbolMarkerStyle.none, SimpleLineSymbolMarkerPlacement markerPlacement = SimpleLineSymbolMarkerPlacement.end})
Creates a simple line symbol object with a style, color, width, and line end marker.
factory

Properties

antiAlias bool
True if the line symbol is drawn with anti-aliasing, false otherwise.
getter/setter pairinherited
color Color
The color of the line symbol.
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
markerPlacement SimpleLineSymbolMarkerPlacement
The simple line symbol end marker placement of the simple line symbol.
getter/setter pair
markerStyle SimpleLineSymbolMarkerStyle
The simple line symbol end marker style of the simple line symbol.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
style SimpleLineSymbolStyle
The style of the simple line symbol.
getter/setter pair
width double
The thickness of the line symbol outline in device-independent pixels (DIPs).
getter/setter pairinherited

Methods

clone() ArcGISSymbol
Clones the ArcGISSymbol.
inherited
createSwatch({required double screenScale, Size? size, Color backgroundColor = Colors.transparent}) Future<ArcGISImage>
Creates a swatch image using the provided width, height, screen scale, and optional background color.
inherited
createSwatchCancelable({required double screenScale, Size? size, Color backgroundColor = Colors.transparent}) CancelableOperation<ArcGISImage>
Cancelable version of createSwatch. See that method for more information.
inherited
createSwatchWithGeometry({required double screenScale, required Size size, 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
createSwatchWithGeometryCancelable({required double screenScale, required Size size, required Geometry geometry, Color backgroundColor = Colors.transparent}) CancelableOperation<ArcGISImage>
Cancelable version of createSwatchWithGeometry. See that method for more information.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, 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