BoundingRectangle.FromWidthHeight Method |
Initializes a new instance.
Namespace:
AGI.Foundation.Coordinates
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 25.1.421.0 (25.1.421.0)
Syntaxpublic 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: System.Double
The x coordinate of the lower-left corner. - y
- Type: System.Double
The y coordinate of the lower-left corner. - width
- Type: System.Double
The width of the rectangle. - height
- Type: System.Double
The height of the rectangle.
Return Value
Type:
BoundingRectangleA new
BoundingRectangle.
See Also