BoundingRectangleFromWidthHeight Method |
Initializes a new instance.
Namespace:
AGI.Foundation.Coordinates
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax public static BoundingRectangle FromWidthHeight(
double x,
double y,
double width,
double height
)
Public Shared Function FromWidthHeight (
x As Double,
y As Double,
width As Double,
height As Double
) As BoundingRectangle
public:
static BoundingRectangle FromWidthHeight(
double x,
double y,
double width,
double height
)
static member FromWidthHeight :
x : float *
y : float *
width : float *
height : float -> BoundingRectangle
Parameters
- x
- Type: SystemDouble
The x coordinate of the lower-left corner. - y
- Type: SystemDouble
The y coordinate of the lower-left corner. - width
- Type: SystemDouble
The width of the rectangle. - height
- Type: SystemDouble
The height of the rectangle.
Return Value
Type:
BoundingRectangleA new
BoundingRectangle.
See Also