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

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
final
y double
final

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