StrokeSymbolLayer class final
A StrokeSymbolLayer represents a symbol layer that, when applied to a polyline geometry, draws a stroke along that geometry. The StrokeSymbolLayer can also control drawing the outline of a polygon geometry.
Applied to a polyline geometry, the StrokeSymbolLayer will draw a segment of stroke adhering to the selected visual properties for each line segment. Similarly, as the outline of a polygon geometry, the StrokeSymbolLayer draws a stroke segment for each line segment of the polygon outline.
This symbol layer controls many common operations vital for working with strokes. Cap style and line style 3D are controllable on the StrokeSymbolLayer. These properties provide the ability to pick between various options for rendering strokes. Line style 3D applies only in 3D, but cap style and width have effects in both 2D and 3D.
- Inheritance
-
- Object
- SymbolLayer
- StrokeSymbolLayer
- Implementers
Properties
- capStyle ↔ StrokeSymbolLayerCapStyle
-
The cap style of stroke symbol layer.
getter/setter pair
- colorLocked ↔ bool
-
The symbol layer color locked property.
getter/setter pairinherited
- enabled ↔ bool
-
The symbol layer enabled property.
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- lineStyle3D ↔ StrokeSymbolLayerLineStyle3D
-
The 3D line style of the stroke symbol layer.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- width ↔ double
-
The width of the stroke symbol layer.
getter/setter pair
Methods
-
clone(
) → SymbolLayer -
Clones the SymbolLayer.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited