CirclePath class

Inheritance

Constructors

CirclePath({required Location center, required int radius, int detail = 45, bool encoded = false, int? weight, Color? color, Color? fillColor, bool? geodesic})
const

Properties

center Location
The center of the circle.
final
color Color?
(optional) Specifies a path color;
finalinherited
detail int
The number of points that will be generated to describe the circle. The actual number of points is detail + 1 because the last point will be the same as the first.
final
encoded bool
Setting this value to true enables a polyline encoding
finalinherited
fillColor Color?
(optional) indicates both that the path marks off a polygonal area and specifies the fill color to use as an overlay within that area. The set of locations following need not be a "closed" loop; the Maps Static API server will automatically join the first and last points. Note, however, that any stroke on the exterior of the filled area will not be closed unless you specifically provide the same beginning and end location.
finalinherited
geodesic bool?
(optional) indicates that the requested path should be interpreted as a geodesic line that follows the curvature of the earth. When false, the path is rendered as a straight line in screen space. Defaults to false.
finalinherited
hasAddressPoints bool
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
points List<Location>
In order to draw a path, the path class must also be passed two or more points. The Maps Static API will then connect the path along those points, in the specified order.
no setteroverride
radius int
Circle radius in meters.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
weight int?
(optional) specifies the thickness of the path in pixels. If no weight parameter is set, the path will appear in its default thickness (5 pixels).
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
toUrlString() String
inherited

Operators

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