Packages

 

com.aspose.cad.extensions

Class PointExtensions



  • public class PointExtensions
    extends Object

    Contains extension methods for Point and PointF structures.

    • Method Detail

      • toPointsArray

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

        Converts the Point array to the PointF array.

        Parameters:
        points - The Point array to convert.
        Returns:
        The converted PointF array.
      • toGdiPoints

        public static com.aspose.ms.System.Drawing.PointF[] toGdiPoints(PointF[] points)

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

        Parameters:
        points - The PointF array to convert.
        Returns:
        The converted System.Drawing.PointF array.
      • toGdiPoint

        public static Point2D.Float toGdiPoint(PointF point)

        Converts the PointF to System.Drawing.PointF.

        Parameters:
        point - The PointF to convert.
        Returns:
        The converted System.Drawing.PointF.