Point2D (API Reference)
Package com.here.sdk.core
Class Point2D
java.lang.Object
com.here.sdk.core.Point2D
Represents a point in 2D space. When this point is used to indicate coordinates on a view, then (0,0) will mark the top-left corner of the view.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
x
public double xPosition along the X axis. The default value is 0.
-
y
public double yPosition along the Y axis. The default value is 0.
-
-
Constructor Details
-
Point2D
public Point2D()Creates a new instance.
-
Point2D
public Point2D(double x, double y) Creates a new instance.
- Parameters:
x-Position along the X axis. The default value is 0.
y-Position along the Y axis. The default value is 0.
-
-
Method Details