PointExtensions
Inheritance: java.lang.Object
public final class PointExtensions
Contains extension methods for Point
and PointF
structures.
Methods
Method | Description |
---|---|
toPointsArray(Point[] points) | Converts the Point array to the PointF array. |
toGdiPoints(PointF[] points) | Converts the PointF array to the System.Drawing.PointF array. |
toGdiPoint(PointF point) | Converts the PointF to System.Drawing.PointF . |
toPointsArray(Point[] points)
public static PointF[] toPointsArray(Point[] points)
Converts the Point
array to the PointF
array.
Parameters:
Parameter | Type | Description |
---|---|---|
points | Point[] | The Point array to convert. |
Returns:
com.aspose.imaging.PointF[] - The converted PointF
array.
toGdiPoints(PointF[] points)
public static Point2D.Float[] toGdiPoints(PointF[] points)
Converts the PointF
array to the System.Drawing.PointF
array.
Parameters:
Parameter | Type | Description |
---|---|---|
points | PointF[] | The PointF array to convert. |
Returns:
java.awt.geom.Point2D.Float[] - The converted System.Drawing.PointF
array.
toGdiPoint(PointF point)
public static Point2D.Float toGdiPoint(PointF point)
Converts the PointF
to System.Drawing.PointF
.
Parameters:
Parameter | Type | Description |
---|---|---|
point | PointF | The PointF to convert. |
Returns:
java.awt.geom.Point2D.Float - The converted System.Drawing.PointF
.