Point2D
Contents
[
Hide
]Inheritance: java.lang.Object, com.aspose.ms.lang.Struct
The 2D point.
Constructors
| Constructor | Description |
|---|---|
| Point2D() | |
| Point2D(double x, double y) | Initializes a new instance of the Point2D class. |
Methods
| Method | Description |
|---|---|
| getX() | Gets or sets the x. |
| setX(double value) | Gets or sets the x. |
| getY() | Gets or sets the y. |
| setY(double value) | Gets or sets the y. |
| CloneTo(Point2D that) | |
| Clone() | |
| clone() | |
| equals(Object obj) | |
| hashCode() | |
| isEquals(Point2D obj1, Point2D obj2) |
Point2D()
public Point2D()
Point2D(double x, double y)
public Point2D(double x, double y)
Initializes a new instance of the Point2D class.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| x | double | The x ordinate. |
| y | double | The y ordinate. |
getX()
public final double getX()
Gets or sets the x.
Returns: double
setX(double value)
public final void setX(double value)
Gets or sets the x.
getY()
public final double getY()
Gets or sets the y.
Returns: double
setY(double value)
public final void setY(double value)
Gets or sets the y.
CloneTo(Point2D that)
public void CloneTo(Point2D that)
Clone()
public Point2D Clone()
Returns: Point2D
clone()
public Object clone()
Returns: Object
equals(Object obj)
public boolean equals(Object obj)
Returns: boolean
hashCode()
public int hashCode()
Returns: int
isEquals(Point2D obj1, Point2D obj2)
public static boolean isEquals(Point2D obj1, Point2D obj2)
Returns: boolean