Window::getWidth() Examples Syntax Java Return Window::getWidth() Retrieves the width of the current window. Examples Fullscreen View on GitHub Syntax Java .getWidth() Return int getWidth() Create Shareable URL Standalone Mode Select Sections Window::getWidth() Examples Syntax Java Return Copy Shareable URL