Click or drag to resize

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)
Syntax
public static BoundingRectangle FromWidthHeight(
	double x,
	double y,
	double width,
	double height
)

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: BoundingRectangle
A new BoundingRectangle.
See Also