fillRect that fill the whole window?

Hi, i want to ask that since fillRect method only fill the content area of a window but not the whole window.
Is there a way to fill the whole window instead?
not without writing a new window, essentially.
because the *window* object consists of background, border, and contents.
and contents always render within the boundaries of borders.
Maybe you can just make the window background transparent and then increase the size of the contents bitmap.

Or just make your own rectangle sprite and ignore the contents
Thanks guys, those are nice suggestions 🙂

Original thread: https://forums.rpgmakerweb.com/threads/fillrect-that-fill-the-whole-window.125165/