PointExtensions
Inheritance: java.lang.Object
public final class PointExtensions
Contient des méthodes d’extension pour les structures Point et PointF.
Méthodes
| Méthode | Description |
|---|---|
| toPointsArray(Point[] points) | Convertit le tableau Point en tableau PointF. |
| toGdiPoints(PointF[] points) | Convertit le tableau PointF en tableau System.Drawing.PointF. |
| toGdiPoint(PointF point) | Convertit le PointF en System.Drawing.PointF. |
toPointsArray(Point[] points)
public static PointF[] toPointsArray(Point[] points)
Convertit le tableau Point en tableau PointF.
Parameters:
| Paramètre | Type | Description |
|---|---|---|
| points | Point[] | Le tableau Point à convertir. |
Returns:
com.aspose.imaging.PointF[] - Le tableau PointF converti.
toGdiPoints(PointF[] points)
public static Point2D.Float[] toGdiPoints(PointF[] points)
Convertit le tableau PointF en tableau System.Drawing.PointF.
Parameters:
| Paramètre | Type | Description |
|---|---|---|
| points | PointF[] | Le tableau PointF à convertir. |
Returns:
java.awt.geom.Point2D.Float[] - Le tableau System.Drawing.PointF converti.
toGdiPoint(PointF point)
public static Point2D.Float toGdiPoint(PointF point)
Convertit le PointF en System.Drawing.PointF.
Parameters:
| Paramètre | Type | Description |
|---|---|---|
| point | PointF | Le PointF à convertir. |
Returns:
java.awt.geom.Point2D.Float - Le System.Drawing.PointF converti.