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