Home > rc-js-util > Range2d > ensureMinRange
Bound this range to be at least as large as the argument.
Signature:
ensureMinRange(_xMinRange: number, _yMinRange: number): void;
Parameter | Type | Description |
---|---|---|
_xMinRange | number | |
_yMinRange | number |
Returns:
void
Where this range is smaller than the bounding range, it will be resized to be the minimum. This is done by adding equally to both the min and max.