ScreenPoint class final

A point on the screen, in logical pixels from the map's top-left corner.

See mln_screen_point in the C API reference.

Constructors

ScreenPoint({double x = 0, double y = 0})
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
x → double
final
y → double
final

Methods

copyWith({double? x, double? y}) → ScreenPoint
A copy of this value with the given members replaced.
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.
inherited