public class Point2D extends com.aspose.ms.lang.Struct<Point2D>
The 2D point.
Constructor and Description |
---|
Point2D() |
Point2D(double x,
double y)
Initializes a new instance of the
Point2D class. |
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
Point2D |
Clone() |
void |
CloneTo(Point2D that) |
boolean |
equals(Object obj) |
double |
getX()
Gets or sets the x.
|
double |
getY()
Gets or sets the y.
|
int |
hashCode() |
static boolean |
isEquals(Point2D obj1,
Point2D obj2) |
void |
setX(double value)
Gets or sets the x.
|
void |
setY(double value)
Gets or sets the y.
|
public Point2D()
public Point2D(double x, double y)
Initializes a new instance of the Point2D
class.
x
- The x ordinate.y
- The y ordinate.public final double getX()
Gets or sets the x.
public final void setX(double value)
Gets or sets the x.
public final double getY()
Gets or sets the y.
public final void setY(double value)
Gets or sets the y.
public void CloneTo(Point2D that)
CloneTo
in class com.aspose.ms.System.ValueType<Point2D>