public final class RectangleExtensions extends Object
Contains extension methods for Rectangle.
| Modifier and Type | Method and Description |
|---|---|
static Rectangle |
toGdiRectangle(Rectangle rectangle)
Converts the
Rectangle to the System.Drawing.Rectangle. |
static Rectangle2D.Float |
toGdiRectangle(RectangleF rectangle)
Converts the
RectangleF to the System.Drawing.Rectangle. |
static RectangleF |
unionWith(RectangleF rectangle,
RectangleF otherRectangle)
Unions two rectangle.
|
public static Rectangle toGdiRectangle(Rectangle rectangle)
Converts the Rectangle to the System.Drawing.Rectangle.
rectangle - The rectangle to convert.System.Drawing.Rectangle.public static Rectangle2D.Float toGdiRectangle(RectangleF rectangle)
Converts the RectangleF to the System.Drawing.Rectangle.
rectangle - The rectangle to convert.System.Drawing.RectangleF.public static RectangleF unionWith(RectangleF rectangle, RectangleF otherRectangle)
Unions two rectangle.
rectangle - The first rectangle.otherRectangle - The second rectangle.Copyright (c) 2008-2022 Aspose Pty Ltd. All Rights Reserved.