DashPattern class

A repeating dash-and-gap pattern for a PolylineGeometry, measured in scene units along the line's arc length.

Constructors

DashPattern({required double dashLength, required double gapLength, PolylineCap cap = PolylineCap.butt})
Creates a dash pattern; both lengths must be positive.
const

Properties

cap PolylineCap
How each dash's two ends are finished. PolylineCap.round caps every dash with a camera-facing disk; the default is flat ends.
final
dashLength double
The drawn length of each dash.
final
gapLength double
The undrawn length between dashes.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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