Class PointExtensions

Class PointExtensions

Namespace: Aspose.Imaging.Extensions
Assembly: Aspose.Imaging.dll (25.2.0)

Contains extension methods for Aspose.Imaging.Point and Aspose.Imaging.PointF structures.

public static class PointExtensions

Inheritance

objectPointExtensions

Inherited Members

object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Methods

ToGdiPoint(PointF)

Converts the Aspose.Imaging.PointF to System.Drawing.PointF.

public static PointF ToGdiPoint(PointF point)

Parameters

point PointF

The Aspose.Imaging.PointF to convert.

Returns

PointF

The converted System.Drawing.PointF.

ToGdiPoints(PointF[])

Converts the Aspose.Imaging.PointF array to the System.Drawing.PointF array.

public static PointF[] ToGdiPoints(PointF[] points)

Parameters

points PointF[]

The Aspose.Imaging.PointF array to convert.

Returns

PointF[]

The converted System.Drawing.PointF array.

ToPointsArray(Point[])

Converts the Aspose.Imaging.Point array to the Aspose.Imaging.PointF array.

public static PointF[] ToPointsArray(Point[] points)

Parameters

points Point[]

The Aspose.Imaging.Point array to convert.

Returns

PointF[]

The converted Aspose.Imaging.PointF array.