What I'm trying to mimic is the drawing done by said function, not how to drawing of a window.png file
Basically...... you just want to make and show a blank Window.
If you just want a blank window that does nothing and displays nothing at all, that's easy enough. The "hard" stuff only comes when you actually want the Window to do something or display something. That's when you're basically asking for a custom menu or interface. The proper syntax for calling a blank window is "new Window_Base(x, y, width, height)".
Example usage:
JavaScript:
blankwindow = new Window_Base(0, 0, 100, 50)
SceneManager._scene.addWindow(blankwindow)
// Makes a new Window, positioned 0 pixels from the top of the screen, 0 pixels from the left, 100 pixels wide, 50 pixels tall.
// Stores it in a variable called "blankwindow", you can name it anything you want, you just need to put it in one so you can access it later to remove it.
// Attaches the Window in "blankwindow" onto the current Scene to display it.
This can be done in a Script Call. If you want to close or hide it, you can call hide() or close() on the window. Example usage:
All Windows are attached to a Scene.
The New Game/Continue Window (Window_TitleCommand) is attached to Scene_Title. The message box window Window_Message is attached to Scene_Map (and Scene_Battle, when it's used in battle). The party menu windows like Window_MenuCommand and Window_Status are attached to Scene_Menu. Etcetera, etc. These windows are all removed/reloaded when the Scene changes. So after you use Window_Base to make your blank window, you need to attach it to the current Scene, which you can access using SceneManager. If you then switch scenes (from Map into Battle or Map into Menu, etc.) it will automatically be removed and you'll need to run the Script Call to generate it again.
All the functions and code regarding Scenes and Windows can be seen in the .js files "rpg_windows.js", "rpg_scenes.js" and "rpg_core.js".