Drawable class abstract

Defines how a MapFeature should be painted on the map.

Implementers

Constructors

Drawable()

Properties

hasFill bool
Indicates whether to draw the fill
no setter
hashCode int
The hash code for this object.
no setterinherited
pointsCount int
Gets the count of points for this drawable.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
visible bool
Indicates whether it is visible.
no setter

Methods

contains(Offset offset) bool
Checks whether a point is contained in this drawable.
drawOn(Canvas canvas, Paint paint, double scale) → void
Draws this drawable on the canvas.
getBounds() Rect
Gets the geometry bounds
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