ScreenCoordinates class

A pair of x and y coordinates. The x and y coordinates are stored as screen pixels (not display pixels) relative to the top of the map, not top left of the whole screen.

Constructors

ScreenCoordinates({required int x, required int y})
const

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 int
The x coordinate in screen pixels.
final
y int
The y coordinate in screen pixels.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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