ScreenCoordinate class
Represents a point coordinate in the AMap
's view.
The screen location is specified in screen pixels (not display pixels) relative
to the top left of the map, not top left of the whole screen. (x, y) = (0, 0)
corresponds to top-left of the AMap
not the whole screen.
- Annotations
Constructors
- ScreenCoordinate.new({required int x, required int y})
-
Creates an immutable representation of a point coordinate in the
AMap
's view.const
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Object - Converts this object to something serializable in JSON.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override