Point class
An immutable position in two-dimensional space.
This class is roughly compatible with dart:ui's Offset.
- Annotations
-
- @immutable
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator *(
double multiplicand) → Point - Returns a point whose coordinates are the coordinates of the left-hand-side operand (a Point) multiplied by the scalar right-hand-side operand (a double).
-
operator +(
Point other) → Point - Returns a point whose coordinates are the coordinates of the left-hand-side operand (a Point) added to the right-hand-side coordinates (a Point).
-
operator /(
double divisor) → Point - Returns a point whose coordinates are the coordinates of the left-hand-side operand (a Point) divided by the scalar right-hand-side operand (a double).
-
operator ==(
Object other) → bool -
The equality operator.
override