public class PointD extends com.aspose.ms.lang.Struct<PointD>
The point double
| Constructor and Description |
|---|
PointD() |
PointD(double x,
double y)
Initializes a new instance of the
PointD struct. |
| Modifier and Type | Method and Description |
|---|---|
PointD |
Clone() |
void |
CloneTo(PointD that) |
boolean |
equals(Object obj) |
void |
fromPointF(PointF point)
Converts
PointD to the Point2D.Float structure. |
double |
getX()
Gets the x.
|
double |
getY()
Gets the y.
|
int |
hashCode() |
static boolean |
isEquals(PointD obj1,
PointD obj2) |
void |
setX(double value)
Sets the x.
|
void |
setY(double value)
Sets the y.
|
PointF |
toPointF() |
String |
toString()
Converts to string.
|
public PointD()
public PointD(double x,
double y)
Initializes a new instance of the PointD struct.
x - The x value.y - The y value.public final double getX()
Gets the x.
public final void setX(double value)
Sets the x.
value - the x.public final double getY()
Gets the y.
public final void setY(double value)
Sets the y.
value - the y.public final PointF toPointF()
public final void fromPointF(PointF point)
Converts PointD to the Point2D.Float structure.
point - The PointD structure.public String toString()
Converts to string.
public void CloneTo(PointD that)
CloneTo in class com.aspose.ms.System.ValueType<PointD>Copyright (c) 2008-2022 Aspose Pty Ltd. All Rights Reserved.