Viewport
Restricts drawing to a rectangle.
Viewport ( x,y,width,height )
Parameters
- x
- the left edge.
- y
- the top edge.
- width
- how wide it is.
- height
- how tall it is.
Description
Restricts drawing to a rectangle of the buffer: anything outside it is left untouched, including by Cls. Use it for split screens or a status panel.
