SimpleLineSymbol class

SimpleLineSymbol is used for rendering 2D polyline geometries in a 2D MapView. SimpleLineSymbol is also used for rendering outlines for marker symbols and fill symbols.

https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-SimpleLineSymbol.html#style

Inheritance

Constructors

SimpleLineSymbol({CapStyle cap = CapStyle.round, Color? color, double? colorOpacity = 1, String? declaredClass, JoinStyle join = JoinStyle.round, LineSymbolMarker? marker, double? miterLimit, PolylineStyle style = PolylineStyle.solid, double width = 0.75})
const

Properties

cap CapStyle
Specifies the cap style. Only supported on web.
final
color Color?
The color of the symbol.
final
colorOpacity double?
final
declaredClass String?
The name of the class. Only supported on web.
final
hashCode int
The hash code for this object.
no setterinherited
join JoinStyle
Specifies the join style. Only supported on web.
final
marker LineSymbolMarker?
final
miterLimit double?
Maximum allowed ratio of the width of a miter join to the line width.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
style PolylineStyle
Specifies the line style.
final
width double
The width of the symbol in points.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
when<R>({required R ifSimpleFillSymbol(SimpleFillSymbol symbol), required R ifSimpleMarkerSymbol(SimpleMarkerSymbol symbol), required R ifPictureMarkerSymbol(PictureMarkerSymbol symbol), required R ifSimpleLineSymbol(SimpleLineSymbol symbol), required R ifMeshSymbol3D(MeshSymbol3D symbol)}) → R
inherited

Operators

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