Packages

 

com.aspose.cad.extensions

Class RectangleExtensions



  • public class RectangleExtensions
    extends Object

    Contains extension methods for Rectangle.

    • Method Detail

      • toGdiRectangle

        public static Rectangle toGdiRectangle(Rectangle rectangle)

        Converts the Rectangle to the System.Drawing.Rectangle.

        Parameters:
        rectangle - The rectangle to convert.
        Returns:
        The converted System.Drawing.Rectangle.
      • toGdiRectangle

        public static Rectangle2D.Float toGdiRectangle(RectangleF rectangle)

        Converts the RectangleF to the System.Drawing.Rectangle.

        Parameters:
        rectangle - The rectangle to convert.
        Returns:
        The converted System.Drawing.RectangleF.