GeoPath class

The GeoPath class is used to generate a smooth Path by rounding corners with cornerRadius units from the corner. If cornerRadius is zero, the coordinates are converted into a Path without rounding corners. Otherwise, the start and end of the curve on two adjacent sides is determined by cornerRadius using a bezeir curve.

Constructors

GeoPath(List<GeoCoordinate2D> coords)
Constructor for GeoPath

Properties

coords List<GeoCoordinate2D>
Raw coordinates
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
roundedPath(double cornerRadius) Path
Returns a closed Path with coordinates connected with rounded corners.
straightPath() Path
Returns a closed Path with coordinates connected with straight line segments.
toString() String
A string representation of this object.
inherited

Operators

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