Stores characteristics of physical display.
More...
|
| def | __init__ (self, MainApp) |
| | Stores available physical screens. More...
|
| |
| def | resize (self, *Coord) |
| | applies screen's display ratio to coordinates More...
|
| |
| def | locate (self, *Coord) |
| | calls 'resize' (for high definition screen and optional screen change) More...
|
| |
| def | switchScreen (self) |
| | Chave the value of 'currentScreen'. More...
|
| |
| def | changeScreen (self, Coord) |
| | translates coordinates to display on current screen More...
|
| |
Stores characteristics of physical display.
Definition at line 20 of file Screen.py.
◆ __init__()
| def Evolife.Graphics.Screen.Screen_.__init__ |
( |
|
self, |
|
|
|
MainApp |
|
) |
| |
Stores available physical screens.
Definition at line 24 of file Screen.py.
◆ changeScreen()
| def Evolife.Graphics.Screen.Screen_.changeScreen |
( |
|
self, |
|
|
|
Coord |
|
) |
| |
translates coordinates to display on current screen
Definition at line 56 of file Screen.py.
◆ locate()
| def Evolife.Graphics.Screen.Screen_.locate |
( |
|
self, |
|
|
* |
Coord |
|
) |
| |
calls 'resize' (for high definition screen and optional screen change)
Definition at line 46 of file Screen.py.
◆ resize()
| def Evolife.Graphics.Screen.Screen_.resize |
( |
|
self, |
|
|
* |
Coord |
|
) |
| |
applies screen's display ratio to coordinates
Definition at line 41 of file Screen.py.
◆ switchScreen()
| def Evolife.Graphics.Screen.Screen_.switchScreen |
( |
|
self | ) |
|
Chave the value of 'currentScreen'.
Definition at line 51 of file Screen.py.
◆ currentScreen
| Evolife.Graphics.Screen.Screen_.currentScreen |
◆ displays
| Evolife.Graphics.Screen.Screen_.displays |
◆ height
| Evolife.Graphics.Screen.Screen_.height |
◆ ratio
| Evolife.Graphics.Screen.Screen_.ratio |
◆ width
| Evolife.Graphics.Screen.Screen_.width |
The documentation for this class was generated from the following file: