Table of Contents

Class RectangleExtensions

Namespace
Whim
Assembly
Whim.dll
Extension methods for IRectangle<T>.
public static class RectangleExtensions
Inheritance
RectangleExtensions
Inherited Members

Methods

Add<T>(IRectangle<T>, IRectangle<T>)

Adds the given other to this IRectangle<T>.
public static IRectangle<T> Add<T>(this IRectangle<T> rectangle, IRectangle<T> other) where T : INumber<T>

Parameters

rectangle IRectangle<T>
The rectangle to add to.
other IRectangle<T>
The rectangle to add.

Returns

IRectangle<T>
A new IRectangle<T> with the given other added to this one.

Type Parameters

T