Class

Screen

Screen()

Constructor

# new Screen()

screen backbuffer.

Methods

# Clear()

clear the screen with current background color.

# FromDisplay()

copy contents of the current display to this screen.

# Put(x, y, str)

add text to the Screen. the text is added with the current text/background color of the Screen. x/y coordinates are 1-based (like with GotoXY()).
Parameters:
Name Type Description
x number x start coordinate
y number y start coordinate
str string text to add.
See:
  • GotoXY()

# Put0(x, y, str)

add text to the Screen. the text is added with the current text/background color of the Screen. x/y coordinates are 0-based.
Parameters:
Name Type Description
x number x start coordinate
y number y start coordinate
str string text to add.
See:
  • GotoXY()

# TextBackground(col)

Set background color.
Parameters:
Name Type Description
col number the color.
See:
  • TextBackground()

# TextColor(col)

Set text color.
Parameters:
Name Type Description
col number the color.
See:
  • TextColor()

# ToDisplay()

copy contents of this screen to the display.