Creating a Screen

Published

Each of the following sections covers a single constructor of the Screen class.

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.


Return to Documentation