PointD
İçindekiler
[
Saklamak
]Inheritance: java.lang.Object, com.aspose.ms.System.ValueType, com.aspose.ms.lang.Struct
public class PointD extends Struct<PointD>
nokta çift
Yapıcılar
| Yapıcı | Açıklama |
|---|---|
| PointD() | |
| PointD(double x, double y) | Yeni bir PointD struct örneği başlatır. |
Yöntemler
| Yöntem | Açıklama |
|---|---|
| getX() | x değerini alır. |
| setX(double value) | x’i ayarlar. |
| getY() | y değerini alır. |
| setY(double value) | y’i ayarlar. |
| toPointF() | |
| fromPointF(PointF point) | PointD öğesini java.awt.geom.Point2D.Float yapısına dönüştürür. |
| toString() | Stringe dönüştürür. |
| 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)
Yeni bir PointD struct örneği başlatır.
Parameters:
| Parametre | Tür | Açıklama |
|---|---|---|
| x | double | x değeri. |
| y | double | y değeri. |
getX()
public final double getX()
x değerini alır.
Returns: double - x.
setX(double value)
public final void setX(double value)
x’i ayarlar.
Parameters:
| Parametre | Tür | Açıklama |
|---|---|---|
| değer | double | x. |
getY()
public final double getY()
y değerini alır.
Returns: double - y.
setY(double value)
public final void setY(double value)
y’i ayarlar.
Parameters:
| Parametre | Tür | Açıklama |
|---|---|---|
| değer | double | y. |
toPointF()
public final PointF toPointF()
Returns: PointF
fromPointF(PointF point)
public final void fromPointF(PointF point)
PointD öğesini java.awt.geom.Point2D.Float yapısına dönüştürür.
Parameters:
| Parametre | Tür | Açıklama |
|---|---|---|
| point | PointF | PointD yapısı. |
toString()
public String toString()
Stringe dönüştürür.
Returns: java.lang.String - Bu örneği temsil eden bir String.
CloneTo(PointD that)
public void CloneTo(PointD that)
Parameters:
| Parametre | Tür | Açıklama |
|---|---|---|
| that | PointD |
Clone()
public PointD Clone()
Returns: PointD
equals(Object obj)
public boolean equals(Object obj)
Parameters:
| Parametre | Tür | Açıklama |
|---|---|---|
| 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:
| Parametre | Tür | Açıklama |
|---|---|---|
| obj1 | PointD | |
| obj2 | PointD |
Returns: boolean