Method IsContainedIn
IsContainedIn(IBounds)
Determines whether this rectangle lies entirely inside the specified outer bounds.
public bool IsContainedIn(IBounds outer)
Parameters
outerIBoundsThe candidate outer bounds that may contain this rectangle.
Returns
- bool
trueif this rectangle is fully contained withinouter, including edges; otherwise,false.