PointD
Inhalt
[
Ausblenden
]Inheritance: java.lang.Object, com.aspose.ms.System.ValueType, com.aspose.ms.lang.Struct
public class PointD extends Struct<PointD>
Der point double
Konstruktoren
| Konstruktor | Beschreibung |
|---|---|
| PointD() | |
| PointD(double x, double y) | Initialisiert eine neue Instanz der PointD Struktur. |
Methoden
| Methode | Beschreibung |
|---|---|
| getX() | Ruft x ab. |
| setX(double value) | Setzt x. |
| getY() | Ruft y ab. |
| setY(double value) | Setzt y. |
| toPointF() | |
| fromPointF(PointF point) | Konvertiert PointD in die java.awt.geom.Point2D.Float Struktur. |
| toString() | Konvertiert in einen String. |
| CloneTo(PointD that) | |
| Clone() | |
| equals(Object obj) | |
| hashCode() | |
| isEquals(PointD obj1, PointD obj2) |
PointD()
public PointD()
PointD(double x, double y)
public PointD(double x, double y)
Initialisiert eine neue Instanz der PointD Struktur.
Parameters:
| Parameter | Typ | Beschreibung |
|---|---|---|
| x | double | Der x-Wert. |
| y | double | Der y-Wert. |
getX()
public final double getX()
Ruft x ab.
Returns: double - das x.
setX(double value)
public final void setX(double value)
Setzt x.
Parameters:
| Parameter | Typ | Beschreibung |
|---|---|---|
| Wert | double | der x. |
getY()
public final double getY()
Ruft y ab.
Returns: double - das y.
setY(double value)
public final void setY(double value)
Setzt y.
Parameters:
| Parameter | Typ | Beschreibung |
|---|---|---|
| Wert | double | das y. |
toPointF()
public final PointF toPointF()
Returns: PointF
fromPointF(PointF point)
public final void fromPointF(PointF point)
Konvertiert PointD in die java.awt.geom.Point2D.Float Struktur.
Parameters:
| Parameter | Typ | Beschreibung |
|---|---|---|
| point | PointF | Die PointD Struktur. |
toString()
public String toString()
Konvertiert in einen String.
Returns: java.lang.String - Ein String, der diese Instanz darstellt.
CloneTo(PointD that)
public void CloneTo(PointD that)
Parameters:
| Parameter | Typ | Beschreibung |
|---|---|---|
| that | PointD |
Clone()
public PointD Clone()
Returns: PointD
equals(Object obj)
public boolean equals(Object obj)
Parameters:
| Parameter | Typ | Beschreibung |
|---|---|---|
| obj | java.lang.Object |
Returns: boolean
hashCode()
public int hashCode()
Returns: int
isEquals(PointD obj1, PointD obj2)
public static boolean isEquals(PointD obj1, PointD obj2)
Parameters:
| Parameter | Typ | Beschreibung |
|---|---|---|
| obj1 | PointD | |
| obj2 | PointD |
Returns: boolean