Packages

 

com.aspose.cad.extensions

Class PointExtensions



  • public class PointExtensions
    extends Object

    Contains extension methods for Point and PointF structures.

    • Constructor Detail

      • PointExtensions

        public PointExtensions()
    • Method Detail

      • toPointsArray

        public static com.aspose.cad.PointF[] toPointsArray(com.aspose.cad.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(com.aspose.cad.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(com.aspose.cad.PointF point)

        Converts the PointF to System.Drawing.PointF.

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

Copyright (c) 2008-2019 Aspose Pty Ltd. All Rights Reserved.