DashPattern class

Represents a dash pattern for map polyline.

Annotations

Constructors

DashPattern(double gapLength, double dashLength)
Creates a simple dash pattern in which the lengths of a dash and gap can be different.
factory
DashPattern.uniform(double dashLength)
Creates a uniform dash pattern in which the length of a gap is the same as the length of a dash.
factory

Properties

firstDashLength → double
Length of first dash in pixels.
final
firstGapLength → double
Length of first gap in pixels.
final
hashCode → int
The hash code for this object.
no setter
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.