Constructor and Description |
---|
PointD() |
PointD(double x,
double y)
Initializes a new instance of the
PointD struct. |
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
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() |
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 void CloneTo(PointD that)
CloneTo
in class com.aspose.ms.System.ValueType<PointD>