ScreenCoordinate class

Describes the coordinate on the screen, measured from top to bottom and from left to right. Note: the map uses screen coordinate units measured in logical pixels.

Available extensions

Constructors

ScreenCoordinate({required double x, required double y})

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
A value representing the x position of this coordinate.
getter/setter pair
y double
A value representing the y position of this coordinate.
getter/setter pair

Methods

encode() Object
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → dynamic

Available on ScreenCoordinate, provided by the ScreenCoordinateToJson extension

toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

decode(Object result) ScreenCoordinate