Creating a Screen
Published —
Edited
Table of Contents
Each of the following sections covers a single constructor of the Screen class.
Links
- JavaDoc documentation for the Screen class.
- A guide on how to load a Font.
- A guide on how to use Windowed Mode and Full-Screen Exclusive Mode.
Screen()
This constructor creates a new Screen using the default dimensions and font.
Screen(Font)
This constructor creates a new Screen using the default dimensions and a custom font.
Screen(Dimension, Font)
This constructor creates a new Screen using a custom set of dimensions and a custom font.
Screen(int, int)
This constructor creates a new Screen using a custom set of dimensions and the default font.
Screen(int, int, Font)
This constructor creates a new Screen using a custom set of dimensions and a custom font.