PointExtensions
Inheritance: java.lang.Object
public final class PointExtensions
يحتوي على أساليب امتداد للهيكليتين Point و PointF.
الطرق
| طريقة | الوصف |
|---|---|
| toPointsArray(Point[] points) | يحوّل مصفوفة Point إلى مصفوفة PointF. |
| toGdiPoints(PointF[] points) | يحوّل مصفوفة PointF إلى مصفوفة System.Drawing.PointF. |
| toGdiPoint(PointF point) | يقوم بتحويل PointF إلى System.Drawing.PointF. |
toPointsArray(Point[] points)
public static PointF[] toPointsArray(Point[] points)
يحوّل مصفوفة Point إلى مصفوفة PointF.
Parameters:
| معامل | نوع | الوصف |
|---|---|---|
| points | Point[] | مصفوفة Point للتحويل. |
Returns:
com.aspose.imaging.PointF[] - مصفوفة PointF المحوَّلة.
toGdiPoints(PointF[] points)
public static Point2D.Float[] toGdiPoints(PointF[] points)
يحوّل مصفوفة PointF إلى مصفوفة System.Drawing.PointF.
Parameters:
| معامل | نوع | الوصف |
|---|---|---|
| points | PointF[] | مصفوفة PointF للتحويل. |
Returns:
java.awt.geom.Point2D.Float[] - مصفوفة System.Drawing.PointF المحوَّلة.
toGdiPoint(PointF point)
public static Point2D.Float toGdiPoint(PointF point)
يقوم بتحويل PointF إلى System.Drawing.PointF.
Parameters:
| معامل | نوع | الوصف |
|---|---|---|
| point | PointF | PointF للتحويل. |
Returns:
java.awt.geom.Point2D.Float - System.Drawing.PointF المحوَّل.