contains_rect


Description:

public bool contains_rect (Rect b)

Checks whether this contains b.

The first rectangle contains the second if the union of the two Rect is equal to the first rectangle.

Parameters:

this

a Rect

b

a Rect

Returns:

true if the first rectangle contains the second.