BoundingRectangle Constructor (Double, Double, Double, Double) |
Initializes a new instance.
Namespace:
AGI.Foundation.Coordinates
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax public BoundingRectangle(
double left,
double bottom,
double right,
double top
)
Public Sub New (
left As Double,
bottom As Double,
right As Double,
top As Double
)
public:
BoundingRectangle(
double left,
double bottom,
double right,
double top
)
new :
left : float *
bottom : float *
right : float *
top : float -> BoundingRectangle
Parameters
- left
- Type: SystemDouble
The x coordinate of the lower-left corner. - bottom
- Type: SystemDouble
The y coordinate of the lower-left corner. - right
- Type: SystemDouble
The x coordinate of the upper-right corner. - top
- Type: SystemDouble
The y coordinate of the upper-right corner.
Exceptions Exception | Condition |
---|
ArgumentException |
Thrown when the right parameter is less than the left parameter or when the top parameter is less than the bottom parameter.
|
See Also