Window
The window object manages the main JoBase window.
__init__(title = "JoBase", width = 640, height = 480, color = WHITE)
Call the window initialiser. Use this to reset the state of the window.
title: strThe title of the window
width: floatThe width of the window
height: floatThe height of the window
color: float, float, floatThe background colour of the window
title: str
The title of the window.
width: float
The width of the window.
height: float
The height of the window.
size: float, float
The dimensions of the window.
x: floatThe width of the window
y: floatThe height of the window
red: float
The red background colour of the window.
green: float
The green background colour of the window.
blue: float
The blue background colour of the window.
color: float, float, float
The background colour of the window.
r: floatThe red background colour of the window
g: floatThe green background colour of the window
b: floatThe blue background colour of the window
top: float
The top position of the window.
left: float
The left position of the window.
bottom: float
The bottom position of the window.
right: float
The right position of the window.
resize: bool
Determine whether the window was resized.
time: float
The number of seconds since the program started.