Cap class

Cap that can be applied at the start or end vertex of a Polyline.

Annotations

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() → dynamic
Converts this object to something serializable in JSON.
toString() String
Returns a string representation of this object.
inherited

Operators

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

Static Methods

customCapFromBitmap(BitmapDescriptor bitmapDescriptor, {double refWidth: 10}) Cap
Constructs a new CustomCap with a bitmap overlay centered at the start or end vertex of a Polyline, orientated according to the direction of the line's first or last edge and scaled with respect to the line's stroke width. [...]

Constants

buttCap → const Cap
Cap that is squared off exactly at the start or end vertex of a Polyline with solid stroke pattern, equivalent to having no additional cap beyond the start or end vertex. [...]
Cap._(<dynamic>['buttCap'])
roundCap → const Cap
Cap that is a semicircle with radius equal to half the stroke width, centered at the start or end vertex of a Polyline with solid stroke pattern.
Cap._(<dynamic>['roundCap'])
squareCap → const Cap
Cap that is squared off after extending half the stroke width beyond the start or end vertex of a Polyline with solid stroke pattern.
Cap._(<dynamic>['squareCap'])