Point class

Constructors

Point([double x = 0, double y = 0])

Properties

hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
x double
getter/setter pair
y double
getter/setter pair

Methods

add(Point p) Point
clone() Point
degreesTo(Point p) double
equals(Point p) bool
length() double
normalize(double thickness) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
offset(double dx, double dy) → void
orbit(Point origin, double arcWidth, double arcHeight, double degrees) → void
subtract(Point p) Point
toString() String
A string representation of this object.
override

Operators

operator +(Point p) Point
operator ==(Object other) bool
The equality operator.
override

Static Methods

distance(Point p1, Point p2) double
pointsInterpolation(Point p1, Point p2, double f) Point
polar(double l, double r) Point