GeoPathContext class

Renders a path to a canvas using a subset of the CanvasRenderingContext2D API.

Inheritance

Constructors

GeoPathContext(void moveTo(num, num), void lineTo(num, num), void arc(num, num, num, num, num), void closePath(), [Object? result() = noop])

Properties

arc → void Function(num, num, num, num, num)
final
closePath → void Function()
final
hashCode int
The hash code for this object.
no setterinherited
lineEnd ↔ void Function()
Indicates the end of a line or ring. Within a polygon, indicates the end of a ring.
getter/setter pairinherited
lineStart ↔ void Function()
Indicates the start of a line or ring. Within a polygon, indicates the start of a ring.
getter/setter pairinherited
lineTo → void Function(num, num)
final
moveTo → void Function(num, num)
final
point ↔ void Function(List<num>)
Indicates a point with the specified coordinates [x, y, (and optionally z)].
getter/setter pairinherited
polygonEnd ↔ void Function()
Indicates the end of a polygon.
getter/setter pairinherited
polygonStart ↔ void Function()
Indicates the start of a polygon. The first line of a polygon indicates the exterior ring, and any subsequent lines indicate interior holes.
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sphere ↔ void Function()
Indicates the sphere (the globe; the unit sphere centered at ⟨0,0,0⟩).
getter/setter pairinherited

Methods

call(Map? object) → void
Streams the specified GeoJSON object.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pointRadius(double radius) → void
result() Object?
toString() String
A string representation of this object.
inherited

Operators

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