\doxysection{pygaze.\+\_\+screen.\+psychopyscreen.\+Psycho\+Py\+Screen Class Reference}
\hypertarget{classpygaze_1_1__screen_1_1psychopyscreen_1_1_psycho_py_screen}{}\label{classpygaze_1_1__screen_1_1psychopyscreen_1_1_psycho_py_screen}\index{pygaze.\_screen.psychopyscreen.PsychoPyScreen@{pygaze.\_screen.psychopyscreen.PsychoPyScreen}}
Inheritance diagram for pygaze.\+\_\+screen.\+psychopyscreen.\+Psycho\+Py\+Screen\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classpygaze_1_1__screen_1_1psychopyscreen_1_1_psycho_py_screen}
\end{center}
\end{figure}
\doxysubsubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{classpygaze_1_1__screen_1_1psychopyscreen_1_1_psycho_py_screen_a6f9263a4bce8f5be7a3ab5e744d31044}{\+\_\+\+\_\+init\+\_\+\+\_\+}} (self, \mbox{\hyperlink{classpygaze_1_1__screen_1_1psychopyscreen_1_1_psycho_py_screen_a4a8278a73a7496d2f9f76bd1a8c5f490}{dispsize}}=settings.\+DISPSIZE, \mbox{\hyperlink{classpygaze_1_1__screen_1_1psychopyscreen_1_1_psycho_py_screen_a595a41de5c87d9cf079dc34eaa095c78}{fgc}}=settings.\+FGC, \mbox{\hyperlink{classpygaze_1_1__screen_1_1psychopyscreen_1_1_psycho_py_screen_a965d35eda1a9096d9e52387915b3dab6}{bgc}}=settings.\+BGC, \mbox{\hyperlink{classpygaze_1_1__screen_1_1psychopyscreen_1_1_psycho_py_screen_ac296c3b2784cfc8f38ae2f505444963f}{screennr}}=settings.\+SCREENNR, mousevisible=settings.\+MOUSEVISIBLE, \mbox{\hyperlink{classpygaze_1_1__screen_1_1psychopyscreen_1_1_psycho_py_screen_ac41f19e3debf2b4f136cdb5b89efb92b}{screen}}=None, \texorpdfstring{$\ast$}{*}\texorpdfstring{$\ast$}{*}args)
\item 
\mbox{\hyperlink{classpygaze_1_1__screen_1_1psychopyscreen_1_1_psycho_py_screen_a535bcc50efa9c0e40f61b9abe8c5cdff}{create}} (self, \mbox{\hyperlink{classpygaze_1_1__screen_1_1psychopyscreen_1_1_psycho_py_screen_ac41f19e3debf2b4f136cdb5b89efb92b}{screen}}=None)
\item 
\mbox{\hyperlink{classpygaze_1_1__screen_1_1psychopyscreen_1_1_psycho_py_screen_a8467796184cb5ae6730bff91e4c95abf}{clear}} (self, colour=None)
\item 
\mbox{\hyperlink{classpygaze_1_1__screen_1_1psychopyscreen_1_1_psycho_py_screen_aa1053c24e7e40236364b0ff51f40b79d}{copy}} (self, \mbox{\hyperlink{classpygaze_1_1__screen_1_1psychopyscreen_1_1_psycho_py_screen_ac41f19e3debf2b4f136cdb5b89efb92b}{screen}})
\item 
\mbox{\hyperlink{classpygaze_1_1__screen_1_1psychopyscreen_1_1_psycho_py_screen_a0cd27861a02fd3c1d348809eca526c6a}{draw\+\_\+circle}} (self, colour=None, pos=None, r=50, pw=1, fill=False)
\item 
\mbox{\hyperlink{classpygaze_1_1__screen_1_1psychopyscreen_1_1_psycho_py_screen_a5f8cac5395083e6ea4972daa9562085e}{draw\+\_\+ellipse}} (self, colour=None, x=None, y=None, w=50, h=50, pw=1, fill=False)
\item 
\mbox{\hyperlink{classpygaze_1_1__screen_1_1psychopyscreen_1_1_psycho_py_screen_ab13e8f4166529e2c64ffb6924b584ead}{draw\+\_\+rect}} (self, colour=None, x=None, y=None, w=50, h=50, pw=1, fill=False)
\item 
\mbox{\hyperlink{classpygaze_1_1__screen_1_1psychopyscreen_1_1_psycho_py_screen_a9c243dd6ba08653aa2db1bad450d0309}{draw\+\_\+line}} (self, colour=None, spos=None, epos=None, pw=1)
\item 
\mbox{\hyperlink{classpygaze_1_1__screen_1_1psychopyscreen_1_1_psycho_py_screen_adfbe81dc7668a4f106617a18e5b24c50}{draw\+\_\+polygon}} (self, pointlist, colour=None, pw=1, fill=True)
\item 
\mbox{\hyperlink{classpygaze_1_1__screen_1_1psychopyscreen_1_1_psycho_py_screen_a819bcb2c491b5f72c5cbcb5a6c0861e2}{draw\+\_\+fixation}} (self, fixtype=\textquotesingle{}cross\textquotesingle{}, colour=None, pos=None, pw=1, diameter=12)
\item 
\mbox{\hyperlink{classpygaze_1_1__screen_1_1psychopyscreen_1_1_psycho_py_screen_a4cad90a1dbe1b613ea8d2f71303258af}{draw\+\_\+text}} (self, text=\textquotesingle{}text\textquotesingle{}, colour=None, pos=None, center=True, font=\textquotesingle{}mono\textquotesingle{}, fontsize=12, antialias=True)
\item 
\mbox{\hyperlink{classpygaze_1_1__screen_1_1psychopyscreen_1_1_psycho_py_screen_a591145d490a94c507166709e2e11d51e}{draw\+\_\+image}} (self, image, pos=None, scale=None)
\item 
\mbox{\hyperlink{classpygaze_1_1__screen_1_1psychopyscreen_1_1_psycho_py_screen_a963e915964968769b3e418198b48f59f}{set\+\_\+background\+\_\+colour}} (self, colour=None)
\end{DoxyCompactItemize}
\doxysubsection*{Public Member Functions inherited from \mbox{\hyperlink{classpygaze_1_1__screen_1_1basescreen_1_1_base_screen}{pygaze.\+\_\+screen.\+basescreen.\+Base\+Screen}}}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{classpygaze_1_1__screen_1_1basescreen_1_1_base_screen_ab2058504a9ad3a8a066eed47dd1a7859}{\+\_\+\+\_\+init\+\_\+\+\_\+}} (self)
\end{DoxyCompactItemize}
\doxysubsubsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{classpygaze_1_1__screen_1_1psychopyscreen_1_1_psycho_py_screen_a4a8278a73a7496d2f9f76bd1a8c5f490}{dispsize}} = dispsize
\item 
\mbox{\hyperlink{classpygaze_1_1__screen_1_1psychopyscreen_1_1_psycho_py_screen_a595a41de5c87d9cf079dc34eaa095c78}{fgc}} = fgc
\item 
\mbox{\hyperlink{classpygaze_1_1__screen_1_1psychopyscreen_1_1_psycho_py_screen_a965d35eda1a9096d9e52387915b3dab6}{bgc}} = bgc
\item 
\mbox{\hyperlink{classpygaze_1_1__screen_1_1psychopyscreen_1_1_psycho_py_screen_ac296c3b2784cfc8f38ae2f505444963f}{screennr}} = screennr
\item 
\mbox{\hyperlink{classpygaze_1_1__screen_1_1psychopyscreen_1_1_psycho_py_screen_a077c04a4ada375917ff406e37e0d8412}{mousevis}} = mousevisible
\item 
list \mbox{\hyperlink{classpygaze_1_1__screen_1_1psychopyscreen_1_1_psycho_py_screen_ac41f19e3debf2b4f136cdb5b89efb92b}{screen}} = \mbox{[}$\,$\mbox{]}
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
\begin{DoxyVerb}A class for PsychoPy Screen objects, for visual stimuli (to be displayed via a Display object)\end{DoxyVerb}
 

\doxysubsection{Constructor \& Destructor Documentation}
\Hypertarget{classpygaze_1_1__screen_1_1psychopyscreen_1_1_psycho_py_screen_a6f9263a4bce8f5be7a3ab5e744d31044}\index{pygaze.\_screen.psychopyscreen.PsychoPyScreen@{pygaze.\_screen.psychopyscreen.PsychoPyScreen}!\_\_init\_\_@{\_\_init\_\_}}
\index{\_\_init\_\_@{\_\_init\_\_}!pygaze.\_screen.psychopyscreen.PsychoPyScreen@{pygaze.\_screen.psychopyscreen.PsychoPyScreen}}
\doxysubsubsection{\texorpdfstring{\_\_init\_\_()}{\_\_init\_\_()}}
{\footnotesize\ttfamily \label{classpygaze_1_1__screen_1_1psychopyscreen_1_1_psycho_py_screen_a6f9263a4bce8f5be7a3ab5e744d31044} 
pygaze.\+\_\+screen.\+psychopyscreen.\+Psycho\+Py\+Screen.\+\_\+\+\_\+init\+\_\+\+\_\+ (\begin{DoxyParamCaption}\item[{}]{self}{, }\item[{}]{dispsize}{ = {\ttfamily settings.DISPSIZE}, }\item[{}]{fgc}{ = {\ttfamily settings.FGC}, }\item[{}]{bgc}{ = {\ttfamily settings.BGC}, }\item[{}]{screennr}{ = {\ttfamily settings.SCREENNR}, }\item[{}]{mousevisible}{ = {\ttfamily settings.MOUSEVISIBLE}, }\item[{}]{screen}{ = {\ttfamily None}, }\item[{\texorpdfstring{$\ast$}{*}\texorpdfstring{$\ast$}{*}}]{args}{}\end{DoxyParamCaption})}

\begin{DoxyVerb}        Constructor.
        
        TODO: docstring
\end{DoxyVerb}
 

\doxysubsection{Member Function Documentation}
\Hypertarget{classpygaze_1_1__screen_1_1psychopyscreen_1_1_psycho_py_screen_a8467796184cb5ae6730bff91e4c95abf}\index{pygaze.\_screen.psychopyscreen.PsychoPyScreen@{pygaze.\_screen.psychopyscreen.PsychoPyScreen}!clear@{clear}}
\index{clear@{clear}!pygaze.\_screen.psychopyscreen.PsychoPyScreen@{pygaze.\_screen.psychopyscreen.PsychoPyScreen}}
\doxysubsubsection{\texorpdfstring{clear()}{clear()}}
{\footnotesize\ttfamily \label{classpygaze_1_1__screen_1_1psychopyscreen_1_1_psycho_py_screen_a8467796184cb5ae6730bff91e4c95abf} 
pygaze.\+\_\+screen.\+psychopyscreen.\+Psycho\+Py\+Screen.\+clear (\begin{DoxyParamCaption}\item[{}]{self}{, }\item[{}]{colour}{ = {\ttfamily None}}\end{DoxyParamCaption})}

\begin{DoxyVerb}Clears the screen and fills it with a colour
        
        arguments
        None
        
        keyword arguments
        colour  -- the colour to fill the screen with (a colour name
                   (e.g. 'red') or a RGB(A) tuple (e.g. (255,0,0) or 
                   (255,0,0,255))) or None for the default background
                   colour, self.bgc (default = None)
        
        returns
        Nothing -- clears self.screen property
\end{DoxyVerb}
 

Reimplemented from \mbox{\hyperlink{classpygaze_1_1__screen_1_1basescreen_1_1_base_screen_a95592480a70711683f17184cfa32fa5d}{pygaze.\+\_\+screen.\+basescreen.\+Base\+Screen}}.

\Hypertarget{classpygaze_1_1__screen_1_1psychopyscreen_1_1_psycho_py_screen_aa1053c24e7e40236364b0ff51f40b79d}\index{pygaze.\_screen.psychopyscreen.PsychoPyScreen@{pygaze.\_screen.psychopyscreen.PsychoPyScreen}!copy@{copy}}
\index{copy@{copy}!pygaze.\_screen.psychopyscreen.PsychoPyScreen@{pygaze.\_screen.psychopyscreen.PsychoPyScreen}}
\doxysubsubsection{\texorpdfstring{copy()}{copy()}}
{\footnotesize\ttfamily \label{classpygaze_1_1__screen_1_1psychopyscreen_1_1_psycho_py_screen_aa1053c24e7e40236364b0ff51f40b79d} 
pygaze.\+\_\+screen.\+psychopyscreen.\+Psycho\+Py\+Screen.\+copy (\begin{DoxyParamCaption}\item[{}]{self}{, }\item[{}]{screen}{}\end{DoxyParamCaption})}

\begin{DoxyVerb}Copies a screen to the current screen
        
        arguments
        screen  -- a libscreen.Screen object
        
        returns
        Nothing -- sets the self.screen property to a copy of
                   screen.screen
\end{DoxyVerb}
 

Reimplemented from \mbox{\hyperlink{classpygaze_1_1__screen_1_1basescreen_1_1_base_screen_a770838a03e6861ab95b577b7b66f7569}{pygaze.\+\_\+screen.\+basescreen.\+Base\+Screen}}.

\Hypertarget{classpygaze_1_1__screen_1_1psychopyscreen_1_1_psycho_py_screen_a535bcc50efa9c0e40f61b9abe8c5cdff}\index{pygaze.\_screen.psychopyscreen.PsychoPyScreen@{pygaze.\_screen.psychopyscreen.PsychoPyScreen}!create@{create}}
\index{create@{create}!pygaze.\_screen.psychopyscreen.PsychoPyScreen@{pygaze.\_screen.psychopyscreen.PsychoPyScreen}}
\doxysubsubsection{\texorpdfstring{create()}{create()}}
{\footnotesize\ttfamily \label{classpygaze_1_1__screen_1_1psychopyscreen_1_1_psycho_py_screen_a535bcc50efa9c0e40f61b9abe8c5cdff} 
pygaze.\+\_\+screen.\+psychopyscreen.\+Psycho\+Py\+Screen.\+create (\begin{DoxyParamCaption}\item[{}]{self}{, }\item[{}]{screen}{ = {\ttfamily None}}\end{DoxyParamCaption})}

\begin{DoxyVerb}Creates a new Screen object, filled with either the background
        colour or specified screen
        
        arguments
        None
        
        keyword arguments
        screen  -- a libscreen.Screen object, to be displayed on the
                   new screen or None for the background colour
        returns
        Nothing -- sets the self.screen property to a PyGame Surface
                   or a list of PsychoPy stimuli, depening on the
                   disptype
\end{DoxyVerb}
 

Reimplemented from \mbox{\hyperlink{classpygaze_1_1__screen_1_1basescreen_1_1_base_screen_a12c6e7e2eade04c674a5209a46960692}{pygaze.\+\_\+screen.\+basescreen.\+Base\+Screen}}.

\Hypertarget{classpygaze_1_1__screen_1_1psychopyscreen_1_1_psycho_py_screen_a0cd27861a02fd3c1d348809eca526c6a}\index{pygaze.\_screen.psychopyscreen.PsychoPyScreen@{pygaze.\_screen.psychopyscreen.PsychoPyScreen}!draw\_circle@{draw\_circle}}
\index{draw\_circle@{draw\_circle}!pygaze.\_screen.psychopyscreen.PsychoPyScreen@{pygaze.\_screen.psychopyscreen.PsychoPyScreen}}
\doxysubsubsection{\texorpdfstring{draw\_circle()}{draw\_circle()}}
{\footnotesize\ttfamily \label{classpygaze_1_1__screen_1_1psychopyscreen_1_1_psycho_py_screen_a0cd27861a02fd3c1d348809eca526c6a} 
pygaze.\+\_\+screen.\+psychopyscreen.\+Psycho\+Py\+Screen.\+draw\+\_\+circle (\begin{DoxyParamCaption}\item[{}]{self}{, }\item[{}]{colour}{ = {\ttfamily None}, }\item[{}]{pos}{ = {\ttfamily None}, }\item[{}]{r}{ = {\ttfamily 50}, }\item[{}]{pw}{ = {\ttfamily 1}, }\item[{}]{fill}{ = {\ttfamily False}}\end{DoxyParamCaption})}

\begin{DoxyVerb}Draws a circle on the screen
        
        arguments
        None
        
        keyword arguments
        colour  -- colour for the circle (a colour name (e.g. 'red') or
                   a RGB(A) tuple (e.g. (255,0,0) or (255,0,0,255))) or
                   None for the default foreground colour, self.fgc
                   (default = None)
        pos     -- circle center, an (x,y) position tuple or None for a
                   central position (default = None)
        r       -- circle radius (default = 50)
        pw      -- penwidth: circle line thickness (default = 1)
        fill        -- Boolean indicating whether circle should be filled or
                   not (default = False)
        
        returns
        Nothing -- draws a circle on (PyGame) or adds a Circle stimulus
                   to (PsychoPy) the self.screen property
\end{DoxyVerb}
 

Reimplemented from \mbox{\hyperlink{classpygaze_1_1__screen_1_1basescreen_1_1_base_screen_a195256aa2264d1c8d03543154130aec2}{pygaze.\+\_\+screen.\+basescreen.\+Base\+Screen}}.

\Hypertarget{classpygaze_1_1__screen_1_1psychopyscreen_1_1_psycho_py_screen_a5f8cac5395083e6ea4972daa9562085e}\index{pygaze.\_screen.psychopyscreen.PsychoPyScreen@{pygaze.\_screen.psychopyscreen.PsychoPyScreen}!draw\_ellipse@{draw\_ellipse}}
\index{draw\_ellipse@{draw\_ellipse}!pygaze.\_screen.psychopyscreen.PsychoPyScreen@{pygaze.\_screen.psychopyscreen.PsychoPyScreen}}
\doxysubsubsection{\texorpdfstring{draw\_ellipse()}{draw\_ellipse()}}
{\footnotesize\ttfamily \label{classpygaze_1_1__screen_1_1psychopyscreen_1_1_psycho_py_screen_a5f8cac5395083e6ea4972daa9562085e} 
pygaze.\+\_\+screen.\+psychopyscreen.\+Psycho\+Py\+Screen.\+draw\+\_\+ellipse (\begin{DoxyParamCaption}\item[{}]{self}{, }\item[{}]{colour}{ = {\ttfamily None}, }\item[{}]{x}{ = {\ttfamily None}, }\item[{}]{y}{ = {\ttfamily None}, }\item[{}]{w}{ = {\ttfamily 50}, }\item[{}]{h}{ = {\ttfamily 50}, }\item[{}]{pw}{ = {\ttfamily 1}, }\item[{}]{fill}{ = {\ttfamily False}}\end{DoxyParamCaption})}

\begin{DoxyVerb}Draws an ellipse on the screen
        
        arguments
        None
        
        keyword arguments
        colour  -- colour for the circle (a colour name (e.g. 'red') or
                   a RGB(A) tuple (e.g. (255,0,0) or (255,0,0,255))) or
                   None for the default foreground colour, self.fgc
                   (default = None)
        x       -- x coordinate of the rectangle in which the ellipse is
                   drawn or None for a horizontal centrally drawn
                   ellipse (default = None)
        y       -- y coordinate of the rectangle in which the ellipse is
                   drawn or None for a vertical centrally drawn
                   ellipse (default = None)
        w       -- width of the rectangle in which the ellipse is drawn
                   (default = 50)
        h       -- height of the rectangle in which the ellipse is drawn
                   (default = 50)
        pw      -- penwidth: circle line thickness (default = 1)
        fill        -- Boolean indicating whether ellipse should be filled
                   or not (default = False)
        
        returns
        Nothing -- draws an ellipse on (PyGame) or adds a GratinsStim
                   stimulus to (PsychoPy) the self.screen property
\end{DoxyVerb}
 

Reimplemented from \mbox{\hyperlink{classpygaze_1_1__screen_1_1basescreen_1_1_base_screen_a6fc5396d80eba5d0e2e41d7d38004ac2}{pygaze.\+\_\+screen.\+basescreen.\+Base\+Screen}}.

\Hypertarget{classpygaze_1_1__screen_1_1psychopyscreen_1_1_psycho_py_screen_a819bcb2c491b5f72c5cbcb5a6c0861e2}\index{pygaze.\_screen.psychopyscreen.PsychoPyScreen@{pygaze.\_screen.psychopyscreen.PsychoPyScreen}!draw\_fixation@{draw\_fixation}}
\index{draw\_fixation@{draw\_fixation}!pygaze.\_screen.psychopyscreen.PsychoPyScreen@{pygaze.\_screen.psychopyscreen.PsychoPyScreen}}
\doxysubsubsection{\texorpdfstring{draw\_fixation()}{draw\_fixation()}}
{\footnotesize\ttfamily \label{classpygaze_1_1__screen_1_1psychopyscreen_1_1_psycho_py_screen_a819bcb2c491b5f72c5cbcb5a6c0861e2} 
pygaze.\+\_\+screen.\+psychopyscreen.\+Psycho\+Py\+Screen.\+draw\+\_\+fixation (\begin{DoxyParamCaption}\item[{}]{self}{, }\item[{}]{fixtype}{ = {\ttfamily \textquotesingle{}cross\textquotesingle{}}, }\item[{}]{colour}{ = {\ttfamily None}, }\item[{}]{pos}{ = {\ttfamily None}, }\item[{}]{pw}{ = {\ttfamily 1}, }\item[{}]{diameter}{ = {\ttfamily 12}}\end{DoxyParamCaption})}

\begin{DoxyVerb}Draws a fixation (cross, x or dot) on the screen
        
        arguments
        None
        
        keyword arguments
        fixtype -- type of fixation mark, should be either of the
                   following strings:
                    'cross' -- a '+'
                    'x'  -- a 'x'
                    'dot'      -- a filled circle
                   (default = 'cross')
        colour  -- colour for the circle (a colour name (e.g. 'red') or
                   a RGB(A) tuple (e.g. (255,0,0) or (255,0,0,255))) or
                   None for the default foreground colour, self.fgc
                   (default = None)
        pos     -- fixation center, an (x,y) position tuple or None for
                   a central position (default = None)
        pw      -- penwidth: fixation line thickness (default = 1)
        diameter    -- diameter of the fixation mark in pixels (default =
                   12)
        
        returns
        Nothing -- draws on (PyGame) or adds stimuli to (PsychoPy) the
                   self.screen property
\end{DoxyVerb}
 

Reimplemented from \mbox{\hyperlink{classpygaze_1_1__screen_1_1basescreen_1_1_base_screen_a15deecab36bc1f67a0a965a0c6c0ed16}{pygaze.\+\_\+screen.\+basescreen.\+Base\+Screen}}.

\Hypertarget{classpygaze_1_1__screen_1_1psychopyscreen_1_1_psycho_py_screen_a591145d490a94c507166709e2e11d51e}\index{pygaze.\_screen.psychopyscreen.PsychoPyScreen@{pygaze.\_screen.psychopyscreen.PsychoPyScreen}!draw\_image@{draw\_image}}
\index{draw\_image@{draw\_image}!pygaze.\_screen.psychopyscreen.PsychoPyScreen@{pygaze.\_screen.psychopyscreen.PsychoPyScreen}}
\doxysubsubsection{\texorpdfstring{draw\_image()}{draw\_image()}}
{\footnotesize\ttfamily \label{classpygaze_1_1__screen_1_1psychopyscreen_1_1_psycho_py_screen_a591145d490a94c507166709e2e11d51e} 
pygaze.\+\_\+screen.\+psychopyscreen.\+Psycho\+Py\+Screen.\+draw\+\_\+image (\begin{DoxyParamCaption}\item[{}]{self}{, }\item[{}]{image}{, }\item[{}]{pos}{ = {\ttfamily None}, }\item[{}]{scale}{ = {\ttfamily None}}\end{DoxyParamCaption})}

\begin{DoxyVerb}Draws an image on the screen
        
        arguments
        image       -- a full path to an image file
        
        keyword arguments
        pos     -- image center position, an (x,y) position tuple or
                   None for a central position (default = None)
        scale   -- scale factor for the image or None for no scaling
                   (default = None)
        
        returns
        Nothing -- loads and draws an image surface on (PyGame) or
                   adds SimpleImageStim to (PsychoPy) the self.screen
                   property
\end{DoxyVerb}
 

Reimplemented from \mbox{\hyperlink{classpygaze_1_1__screen_1_1basescreen_1_1_base_screen_a50eebd2e36fca874f63a71047c8ef6d9}{pygaze.\+\_\+screen.\+basescreen.\+Base\+Screen}}.

\Hypertarget{classpygaze_1_1__screen_1_1psychopyscreen_1_1_psycho_py_screen_a9c243dd6ba08653aa2db1bad450d0309}\index{pygaze.\_screen.psychopyscreen.PsychoPyScreen@{pygaze.\_screen.psychopyscreen.PsychoPyScreen}!draw\_line@{draw\_line}}
\index{draw\_line@{draw\_line}!pygaze.\_screen.psychopyscreen.PsychoPyScreen@{pygaze.\_screen.psychopyscreen.PsychoPyScreen}}
\doxysubsubsection{\texorpdfstring{draw\_line()}{draw\_line()}}
{\footnotesize\ttfamily \label{classpygaze_1_1__screen_1_1psychopyscreen_1_1_psycho_py_screen_a9c243dd6ba08653aa2db1bad450d0309} 
pygaze.\+\_\+screen.\+psychopyscreen.\+Psycho\+Py\+Screen.\+draw\+\_\+line (\begin{DoxyParamCaption}\item[{}]{self}{, }\item[{}]{colour}{ = {\ttfamily None}, }\item[{}]{spos}{ = {\ttfamily None}, }\item[{}]{epos}{ = {\ttfamily None}, }\item[{}]{pw}{ = {\ttfamily 1}}\end{DoxyParamCaption})}

\begin{DoxyVerb}Draws a line on the screen
        
        arguments
        None
        
        keyword arguments
        colour  -- colour for the circle (a colour name (e.g. 'red') or
                   a RGB(A) tuple (e.g. (255,0,0) or (255,0,0,255))) or
                   None for the default foreground colour, self.fgc
                   (default = None)
        spos        -- line start, an (x,y) position tuple or None for a
                   quarter x and a central y position (default = None)
        epos        -- line end, an (x,y) position tuple or None for a
                   three-quarter x and a central y position (default =
                   None)
        pw      -- penwidth: line thickness (default = 1)
        
        returns
        Nothing -- draws a line on (PyGame) or adds a Line stimulus to
                   (PsychoPy) the self.screen property
\end{DoxyVerb}
 

Reimplemented from \mbox{\hyperlink{classpygaze_1_1__screen_1_1basescreen_1_1_base_screen_a75c2a62bf997a69db456a0958681f767}{pygaze.\+\_\+screen.\+basescreen.\+Base\+Screen}}.

\Hypertarget{classpygaze_1_1__screen_1_1psychopyscreen_1_1_psycho_py_screen_adfbe81dc7668a4f106617a18e5b24c50}\index{pygaze.\_screen.psychopyscreen.PsychoPyScreen@{pygaze.\_screen.psychopyscreen.PsychoPyScreen}!draw\_polygon@{draw\_polygon}}
\index{draw\_polygon@{draw\_polygon}!pygaze.\_screen.psychopyscreen.PsychoPyScreen@{pygaze.\_screen.psychopyscreen.PsychoPyScreen}}
\doxysubsubsection{\texorpdfstring{draw\_polygon()}{draw\_polygon()}}
{\footnotesize\ttfamily \label{classpygaze_1_1__screen_1_1psychopyscreen_1_1_psycho_py_screen_adfbe81dc7668a4f106617a18e5b24c50} 
pygaze.\+\_\+screen.\+psychopyscreen.\+Psycho\+Py\+Screen.\+draw\+\_\+polygon (\begin{DoxyParamCaption}\item[{}]{self}{, }\item[{}]{pointlist}{, }\item[{}]{colour}{ = {\ttfamily None}, }\item[{}]{pw}{ = {\ttfamily 1}, }\item[{}]{fill}{ = {\ttfamily True}}\end{DoxyParamCaption})}

\begin{DoxyVerb}Draws a polygon on the screen
        
        arguments
        pointlist   -- a list of (x,y) tuples resembling the cornerpoints
                   of the polygon
        
        keyword arguments
        colour  -- colour for the circle (a colour name (e.g. 'red') or
                   a RGB(A) tuple (e.g. (255,0,0) or (255,0,0,255))) or
                   None for the default foreground colour, self.fgc
                   (default = None)
        pw      -- penwidth: polygon line thickness (default = 1)
        fill        -- Boolean indicating whether polygon should be filled
                   or not (default = False)
        
        returns
        Nothing -- draws a polygon on (PyGame) or adds a ShapeStim
                   stimulus to (PsychoPy) the self.screen property
\end{DoxyVerb}
 

Reimplemented from \mbox{\hyperlink{classpygaze_1_1__screen_1_1basescreen_1_1_base_screen_acfba17c9649774011adcd87f98ced7ed}{pygaze.\+\_\+screen.\+basescreen.\+Base\+Screen}}.

\Hypertarget{classpygaze_1_1__screen_1_1psychopyscreen_1_1_psycho_py_screen_ab13e8f4166529e2c64ffb6924b584ead}\index{pygaze.\_screen.psychopyscreen.PsychoPyScreen@{pygaze.\_screen.psychopyscreen.PsychoPyScreen}!draw\_rect@{draw\_rect}}
\index{draw\_rect@{draw\_rect}!pygaze.\_screen.psychopyscreen.PsychoPyScreen@{pygaze.\_screen.psychopyscreen.PsychoPyScreen}}
\doxysubsubsection{\texorpdfstring{draw\_rect()}{draw\_rect()}}
{\footnotesize\ttfamily \label{classpygaze_1_1__screen_1_1psychopyscreen_1_1_psycho_py_screen_ab13e8f4166529e2c64ffb6924b584ead} 
pygaze.\+\_\+screen.\+psychopyscreen.\+Psycho\+Py\+Screen.\+draw\+\_\+rect (\begin{DoxyParamCaption}\item[{}]{self}{, }\item[{}]{colour}{ = {\ttfamily None}, }\item[{}]{x}{ = {\ttfamily None}, }\item[{}]{y}{ = {\ttfamily None}, }\item[{}]{w}{ = {\ttfamily 50}, }\item[{}]{h}{ = {\ttfamily 50}, }\item[{}]{pw}{ = {\ttfamily 1}, }\item[{}]{fill}{ = {\ttfamily False}}\end{DoxyParamCaption})}

\begin{DoxyVerb}Draws a rectangle on the screen
        
        arguments
        None
        
        keyword arguments
        colour  -- colour for the circle (a colour name (e.g. 'red') or
                   a RGB(A) tuple (e.g. (255,0,0) or (255,0,0,255))) or
                   None for the default foreground colour, self.fgc
                   (default = None)
        x       -- x coordinate of the rectangle or None for a
                   horizontal centrally drawn rectangle (default = None)
        y       -- y coordinate of the rectangle or None for a
                   vertical centrally drawn rectangle (default = None)
        w       -- width of the rectangle (default = 50)
        h       -- height of the rectangle (default = 50)
        pw      -- penwidth: ellipse line thickness (default = 1)
        fill        -- Boolean indicating whether rectangle should be filled
                   or not (default = False)
        
        returns
        Nothing -- draws a rectangle on (PyGame) or adds a GratinsStim
                   stimulus to (PsychoPy) the self.screen property
\end{DoxyVerb}
 

Reimplemented from \mbox{\hyperlink{classpygaze_1_1__screen_1_1basescreen_1_1_base_screen_a2fa1e5bde6cb71c4d5a3db8a17763d66}{pygaze.\+\_\+screen.\+basescreen.\+Base\+Screen}}.

\Hypertarget{classpygaze_1_1__screen_1_1psychopyscreen_1_1_psycho_py_screen_a4cad90a1dbe1b613ea8d2f71303258af}\index{pygaze.\_screen.psychopyscreen.PsychoPyScreen@{pygaze.\_screen.psychopyscreen.PsychoPyScreen}!draw\_text@{draw\_text}}
\index{draw\_text@{draw\_text}!pygaze.\_screen.psychopyscreen.PsychoPyScreen@{pygaze.\_screen.psychopyscreen.PsychoPyScreen}}
\doxysubsubsection{\texorpdfstring{draw\_text()}{draw\_text()}}
{\footnotesize\ttfamily \label{classpygaze_1_1__screen_1_1psychopyscreen_1_1_psycho_py_screen_a4cad90a1dbe1b613ea8d2f71303258af} 
pygaze.\+\_\+screen.\+psychopyscreen.\+Psycho\+Py\+Screen.\+draw\+\_\+text (\begin{DoxyParamCaption}\item[{}]{self}{, }\item[{}]{text}{ = {\ttfamily \textquotesingle{}text\textquotesingle{}}, }\item[{}]{colour}{ = {\ttfamily None}, }\item[{}]{pos}{ = {\ttfamily None}, }\item[{}]{center}{ = {\ttfamily True}, }\item[{}]{font}{ = {\ttfamily \textquotesingle{}mono\textquotesingle{}}, }\item[{}]{fontsize}{ = {\ttfamily 12}, }\item[{}]{antialias}{ = {\ttfamily True}}\end{DoxyParamCaption})}

\begin{DoxyVerb}Draws a text on the screen
        
        arguments
        None
        
        keyword arguments
        text        -- string to be displayed (newlines are allowed and will
                   be recognized) (default = 'text')
        colour  -- colour for the circle (a colour name (e.g. 'red') or
                   a RGB(A) tuple (e.g. (255,0,0) or (255,0,0,255))) or
                   None for the default foreground colour, self.fgc
                   (default = None)
        pos     -- text position, an (x,y) position tuple or None for a
                   central position (default = None)
        center  -- Boolean indicating is the pos keyword argument should
                   indicate the text center (True) or the top right
                   coordinate (False) (default = True)
        font        -- font name (a string value); should be the name of a
                   font included in the PyGaze resources/fonts directory
                   (default = 'mono')
        fontsize    -- fontsize in pixels (an integer value) (default = 12)
        antialias   -- Boolean indicating whether text should be antialiased
                   or not (default = True)
        
        returns
        Nothing -- renders and draws a surface with text on (PyGame) or
                   adds SimpleTextStim to (PsychoPy) the self.screen
                   property
\end{DoxyVerb}
 

Reimplemented from \mbox{\hyperlink{classpygaze_1_1__screen_1_1basescreen_1_1_base_screen_aef3cc8241941b00d13b352e7872ca976}{pygaze.\+\_\+screen.\+basescreen.\+Base\+Screen}}.

\Hypertarget{classpygaze_1_1__screen_1_1psychopyscreen_1_1_psycho_py_screen_a963e915964968769b3e418198b48f59f}\index{pygaze.\_screen.psychopyscreen.PsychoPyScreen@{pygaze.\_screen.psychopyscreen.PsychoPyScreen}!set\_background\_colour@{set\_background\_colour}}
\index{set\_background\_colour@{set\_background\_colour}!pygaze.\_screen.psychopyscreen.PsychoPyScreen@{pygaze.\_screen.psychopyscreen.PsychoPyScreen}}
\doxysubsubsection{\texorpdfstring{set\_background\_colour()}{set\_background\_colour()}}
{\footnotesize\ttfamily \label{classpygaze_1_1__screen_1_1psychopyscreen_1_1_psycho_py_screen_a963e915964968769b3e418198b48f59f} 
pygaze.\+\_\+screen.\+psychopyscreen.\+Psycho\+Py\+Screen.\+set\+\_\+background\+\_\+colour (\begin{DoxyParamCaption}\item[{}]{self}{, }\item[{}]{colour}{ = {\ttfamily None}}\end{DoxyParamCaption})}

\begin{DoxyVerb}Set the background colour to colour
        
        arguments
        None
        
        keyword arguments
        colour  -- colour for the circle (a colour name (e.g. 'red') or
                   a RGB(A) tuple (e.g. (255,0,0) or (255,0,0,255))) or
                   None for the default foreground colour, self.fgc
                   (default = None)
        
        returns
        Nothing -- sets bgc property to specified colour
\end{DoxyVerb}
 

Reimplemented from \mbox{\hyperlink{classpygaze_1_1__screen_1_1basescreen_1_1_base_screen_ad2d3d2ea8bd21d19454b493b40606ceb}{pygaze.\+\_\+screen.\+basescreen.\+Base\+Screen}}.



\doxysubsection{Member Data Documentation}
\Hypertarget{classpygaze_1_1__screen_1_1psychopyscreen_1_1_psycho_py_screen_a965d35eda1a9096d9e52387915b3dab6}\index{pygaze.\_screen.psychopyscreen.PsychoPyScreen@{pygaze.\_screen.psychopyscreen.PsychoPyScreen}!bgc@{bgc}}
\index{bgc@{bgc}!pygaze.\_screen.psychopyscreen.PsychoPyScreen@{pygaze.\_screen.psychopyscreen.PsychoPyScreen}}
\doxysubsubsection{\texorpdfstring{bgc}{bgc}}
{\footnotesize\ttfamily \label{classpygaze_1_1__screen_1_1psychopyscreen_1_1_psycho_py_screen_a965d35eda1a9096d9e52387915b3dab6} 
pygaze.\+\_\+screen.\+psychopyscreen.\+Psycho\+Py\+Screen.\+bgc = bgc}

\Hypertarget{classpygaze_1_1__screen_1_1psychopyscreen_1_1_psycho_py_screen_a4a8278a73a7496d2f9f76bd1a8c5f490}\index{pygaze.\_screen.psychopyscreen.PsychoPyScreen@{pygaze.\_screen.psychopyscreen.PsychoPyScreen}!dispsize@{dispsize}}
\index{dispsize@{dispsize}!pygaze.\_screen.psychopyscreen.PsychoPyScreen@{pygaze.\_screen.psychopyscreen.PsychoPyScreen}}
\doxysubsubsection{\texorpdfstring{dispsize}{dispsize}}
{\footnotesize\ttfamily \label{classpygaze_1_1__screen_1_1psychopyscreen_1_1_psycho_py_screen_a4a8278a73a7496d2f9f76bd1a8c5f490} 
pygaze.\+\_\+screen.\+psychopyscreen.\+Psycho\+Py\+Screen.\+dispsize = dispsize}

\Hypertarget{classpygaze_1_1__screen_1_1psychopyscreen_1_1_psycho_py_screen_a595a41de5c87d9cf079dc34eaa095c78}\index{pygaze.\_screen.psychopyscreen.PsychoPyScreen@{pygaze.\_screen.psychopyscreen.PsychoPyScreen}!fgc@{fgc}}
\index{fgc@{fgc}!pygaze.\_screen.psychopyscreen.PsychoPyScreen@{pygaze.\_screen.psychopyscreen.PsychoPyScreen}}
\doxysubsubsection{\texorpdfstring{fgc}{fgc}}
{\footnotesize\ttfamily \label{classpygaze_1_1__screen_1_1psychopyscreen_1_1_psycho_py_screen_a595a41de5c87d9cf079dc34eaa095c78} 
pygaze.\+\_\+screen.\+psychopyscreen.\+Psycho\+Py\+Screen.\+fgc = fgc}

\Hypertarget{classpygaze_1_1__screen_1_1psychopyscreen_1_1_psycho_py_screen_a077c04a4ada375917ff406e37e0d8412}\index{pygaze.\_screen.psychopyscreen.PsychoPyScreen@{pygaze.\_screen.psychopyscreen.PsychoPyScreen}!mousevis@{mousevis}}
\index{mousevis@{mousevis}!pygaze.\_screen.psychopyscreen.PsychoPyScreen@{pygaze.\_screen.psychopyscreen.PsychoPyScreen}}
\doxysubsubsection{\texorpdfstring{mousevis}{mousevis}}
{\footnotesize\ttfamily \label{classpygaze_1_1__screen_1_1psychopyscreen_1_1_psycho_py_screen_a077c04a4ada375917ff406e37e0d8412} 
pygaze.\+\_\+screen.\+psychopyscreen.\+Psycho\+Py\+Screen.\+mousevis = mousevisible}

\Hypertarget{classpygaze_1_1__screen_1_1psychopyscreen_1_1_psycho_py_screen_ac41f19e3debf2b4f136cdb5b89efb92b}\index{pygaze.\_screen.psychopyscreen.PsychoPyScreen@{pygaze.\_screen.psychopyscreen.PsychoPyScreen}!screen@{screen}}
\index{screen@{screen}!pygaze.\_screen.psychopyscreen.PsychoPyScreen@{pygaze.\_screen.psychopyscreen.PsychoPyScreen}}
\doxysubsubsection{\texorpdfstring{screen}{screen}}
{\footnotesize\ttfamily \label{classpygaze_1_1__screen_1_1psychopyscreen_1_1_psycho_py_screen_ac41f19e3debf2b4f136cdb5b89efb92b} 
list pygaze.\+\_\+screen.\+psychopyscreen.\+Psycho\+Py\+Screen.\+screen = \mbox{[}$\,$\mbox{]}}

\Hypertarget{classpygaze_1_1__screen_1_1psychopyscreen_1_1_psycho_py_screen_ac296c3b2784cfc8f38ae2f505444963f}\index{pygaze.\_screen.psychopyscreen.PsychoPyScreen@{pygaze.\_screen.psychopyscreen.PsychoPyScreen}!screennr@{screennr}}
\index{screennr@{screennr}!pygaze.\_screen.psychopyscreen.PsychoPyScreen@{pygaze.\_screen.psychopyscreen.PsychoPyScreen}}
\doxysubsubsection{\texorpdfstring{screennr}{screennr}}
{\footnotesize\ttfamily \label{classpygaze_1_1__screen_1_1psychopyscreen_1_1_psycho_py_screen_ac296c3b2784cfc8f38ae2f505444963f} 
pygaze.\+\_\+screen.\+psychopyscreen.\+Psycho\+Py\+Screen.\+screennr = screennr}



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
C\+:/\+Users/lurax/eyetracking\+Tobii/pygaze/\+\_\+screen/\mbox{\hyperlink{psychopyscreen_8py}{psychopyscreen.\+py}}\end{DoxyCompactItemize}
