PixelPoint class
This class represents a point on a screen or canvas. Easily convert it to Flutter Offset (Offset(pixel.x, pixel.y))
or whatever object your framework desires.
Constructors
- PixelPoint(double x, double y)
Properties
Methods
-
centerWith(
PixelPoint p2) → PixelPoint -
distanceTo(
PixelPoint p2) → double -
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 ==(
Object other) → bool -
The equality operator.
override