Click or drag to resize

BoundingRectangle Constructor (Double, Int32)

Initializes a new instance from four consecutive elements in the provided array.

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[] elements,
	int startIndex
)

Parameters

elements
Type: SystemDouble
The array of coordinate values.
startIndex
Type: SystemInt32
The index of the first element in the array to use.
Exceptions
ExceptionCondition
ArgumentNullException Thrown when the array of elements is .
ArgumentOutOfRangeException Thrown when an object of this type is constructed from an array with less than four elements.
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