Rectangle Add(int left, int top, int right, int bottom); | Adds a rectangular area with the specified (left, top, right, bottom) boundaries to the region. Returns the added rectangle. |
Rectangle Add(Rectangle rectangle); | Adds the passed rectangle to the field region. Returns the added rectangle. |
bool Remove(Rectangle rectangle); | Removes the passed rectangle from the field region rectangle list. Returns true if removed successfully and returns false otherwise. |
bool Remove(int rectangleIndex); | Removes the rectangular area with the specified index from the field region rectangle list. Returns true if removed successfully and returns false otherwise. |
void Clear(); | Removes all rectangular areas from the list. |