PointExtensions

Inheritance: java.lang.Object

public final class PointExtensions

Contains extension methods for Point and PointF structures.

Methods

MethodDescription
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:

ParameterTypeDescription
pointsPoint[]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:

ParameterTypeDescription
pointsPointF[]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:

ParameterTypeDescription
pointPointFThe PointF to convert.

Returns: java.awt.geom.Point2D.Float - The converted System.Drawing.PointF.