DrawablePolygon class
Defines a polygon or multi polygon to be painted on the map.
- Inheritance
-
- Object
- Drawable
- DrawablePath
- DrawablePolygon
Constructors
- DrawablePolygon(Path path, int pointsCount)
Properties
- hasFill → bool
-
Indicates whether to draw the fill
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- pointsCount → int
-
Gets the count of points for this drawable.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- visible → bool
-
Indicates whether it is visible.
no setterinherited
Methods
-
contains(
Offset offset) → bool -
Checks whether a point is contained in this drawable.
inherited
-
drawOn(
Canvas canvas, Paint paint, double scale) → void -
Draws this drawable on the canvas.
inherited
-
getBounds(
) → Rect -
Gets the geometry bounds
inherited
-
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