public void Dispose();
The Dispose function immediately frees up the memory for an object and its children.
Rectangle Methods