GeoCustomPoints class
The GeoCustomPoints class defines a custom user-defined shape.
Constructors
-
GeoCustomPoints(List<
GeoCoordinate2D> points) - Creates a new instance of GeoPolygon with n-sides
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
points
→ List<
GeoCoordinate2D> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getCoordinates(
{required GeoAngle rotate, bool clockwise = false, required Size size, BoxFit boxFit = BoxFit.none}) → List< GeoCoordinate2D> -
Get list of coordinates rotated by angle
rotateinside a rectangle defined bysize. The coordinate are scaled to fit ifboxFitis defined. Note: Depending on resolution, a rectangle may be defined to create the visual appearance of a regular polygon. AnglestartAngleis defined as start from east direction, and moving counter-clockwise (towards north, west, then south) -
getPath(
{required GeoAngle rotate, bool clockwise = false, required Size size, BoxFit boxFit = BoxFit.none, double cornerRadius = 0}) → Path -
Get Path based on coordinates defined and transformed based on rotation angle
rotate, size of drawing area, stretched based onboxFitwith corners rounded with specifiedcornerRadius. -
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