A class for Screen objects, for visual stimuli (to be displayed via a
Display object)
| pygaze.screen.Screen.__init__ |
( |
| self, |
|
|
| disptype = settings.DISPTYPE, |
|
|
** | args ) |
Initializes the Screen object.
Keyword arguments:
disptype -- Type of display: either 'pygame' or 'psychopy'
(default = DISPTYPE)
dispsize -- size of the display in pixels: a (width, height)
tuple (default = DISPSIZE)
fgc -- the foreground colour: a colour name (e.g. 'red') or
a RGB(A) tuple (e.g. (255,0,0) or (255,0,0,255))
(default = FGC)
bgc -- the background colour: a colour name (e.g. 'red') or
a RGB(A) tuple (e.g. (255,0,0) or (255,0,0,255))
(default = BGC)
screennr -- the screen number: 0, 1 etc. (default =
SCREENNR)
mousevisible -- Boolean indicating mouse visibility (default =
MOUSEVISIBLE)
screen -- a Screen object to be presented on the new Display
(default=None)