Rectangle class can be rendered filled or not filled