CustomCap class

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.

Inheritance

Constructors

CustomCap(BitmapDescriptor bitmapDescriptor, {double refWidth = 10})
bitmapDescriptor must not be null.
const

Properties

bitmapDescriptor BitmapDescriptor
Bitmap overlay centered at the start or end vertex of a Polyline.
final
hashCode int
The hash code for this object.
no setterinherited
refWidth double
Reference stroke width in screen pixels. See https://developers.google.com/maps/documentation/android-sdk/reference/com/google/android/libraries/maps/model/CustomCap#refWidth
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type CapType
The type of rendering used for the cap at a start or end vertex of a Polyline.
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Object
Converts this object to something serializable in JSON.
override
toString() String
A string representation of this object.
inherited

Operators

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