\doxysection{pygaze.\+\_\+screen.\+pygamescreen.\+Py\+Game\+Screen Class Reference}
\hypertarget{classpygaze_1_1__screen_1_1pygamescreen_1_1_py_game_screen}{}\label{classpygaze_1_1__screen_1_1pygamescreen_1_1_py_game_screen}\index{pygaze.\_screen.pygamescreen.PyGameScreen@{pygaze.\_screen.pygamescreen.PyGameScreen}}
Inheritance diagram for pygaze.\+\_\+screen.\+pygamescreen.\+Py\+Game\+Screen\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classpygaze_1_1__screen_1_1pygamescreen_1_1_py_game_screen}
\end{center}
\end{figure}
\doxysubsubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{classpygaze_1_1__screen_1_1pygamescreen_1_1_py_game_screen_a5bf85901feaee8e45df68740110dfdd2}{\+\_\+\+\_\+init\+\_\+\+\_\+}} (self, \mbox{\hyperlink{classpygaze_1_1__screen_1_1pygamescreen_1_1_py_game_screen_a3d3e13387d230a34e769b51d3c9ae0d0}{dispsize}}=settings.\+DISPSIZE, \mbox{\hyperlink{classpygaze_1_1__screen_1_1pygamescreen_1_1_py_game_screen_a3cdc5e290bec902cacac2ebcce48e419}{fgc}}=settings.\+FGC, \mbox{\hyperlink{classpygaze_1_1__screen_1_1pygamescreen_1_1_py_game_screen_adab2807605faa3e8c5ad94b074677a9f}{bgc}}=settings.\+BGC, mousevisible=settings.\+MOUSEVISIBLE, \mbox{\hyperlink{classpygaze_1_1__screen_1_1pygamescreen_1_1_py_game_screen_ac2f57b0ee988294510bed29c421cfaf3}{screen}}=None, \texorpdfstring{$\ast$}{*}\texorpdfstring{$\ast$}{*}args)
\item 
\mbox{\hyperlink{classpygaze_1_1__screen_1_1pygamescreen_1_1_py_game_screen_a60e5236ae0f018054be896ef659981f7}{create}} (self, \mbox{\hyperlink{classpygaze_1_1__screen_1_1pygamescreen_1_1_py_game_screen_ac2f57b0ee988294510bed29c421cfaf3}{screen}}=None)
\item 
\mbox{\hyperlink{classpygaze_1_1__screen_1_1pygamescreen_1_1_py_game_screen_ac77d77395e069badd019014abd469819}{clear}} (self, colour=None)
\item 
\mbox{\hyperlink{classpygaze_1_1__screen_1_1pygamescreen_1_1_py_game_screen_a06385f2a7c6e47158c407d375299eb42}{copy}} (self, \mbox{\hyperlink{classpygaze_1_1__screen_1_1pygamescreen_1_1_py_game_screen_ac2f57b0ee988294510bed29c421cfaf3}{screen}})
\item 
\mbox{\hyperlink{classpygaze_1_1__screen_1_1pygamescreen_1_1_py_game_screen_ae8eaf168fe77fe114aa698fafd0c9bdf}{draw\+\_\+circle}} (self, colour=None, pos=None, r=50, pw=1, fill=False)
\item 
\mbox{\hyperlink{classpygaze_1_1__screen_1_1pygamescreen_1_1_py_game_screen_a3709cf305f79e8e7efc6e7c829fe2d24}{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_1pygamescreen_1_1_py_game_screen_a4320855259a3bd97f428e9ec8e18b5fb}{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_1pygamescreen_1_1_py_game_screen_afb4cb387da9fabbe787365b0698656db}{draw\+\_\+line}} (self, colour=None, spos=None, epos=None, pw=1)
\item 
\mbox{\hyperlink{classpygaze_1_1__screen_1_1pygamescreen_1_1_py_game_screen_a6d6faa1d769d104225b568303b9519e7}{draw\+\_\+polygon}} (self, pointlist, colour=None, pw=1, fill=True)
\item 
\mbox{\hyperlink{classpygaze_1_1__screen_1_1pygamescreen_1_1_py_game_screen_ac79d0f5d2b8b311f5021d2e16e6022f5}{draw\+\_\+fixation}} (self, fixtype=\textquotesingle{}cross\textquotesingle{}, colour=None, pos=None, pw=1, diameter=12)
\item 
\mbox{\hyperlink{classpygaze_1_1__screen_1_1pygamescreen_1_1_py_game_screen_a152793759a8fbaa3e7fc9c20f3477ac5}{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_1pygamescreen_1_1_py_game_screen_a600dc8181b0d4fe6a0cd9c79307d4dc2}{draw\+\_\+image}} (self, image, pos=None, scale=None)
\item 
\mbox{\hyperlink{classpygaze_1_1__screen_1_1pygamescreen_1_1_py_game_screen_af9c15354091a1418464d8f66c49e91dc}{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_1pygamescreen_1_1_py_game_screen_a3d3e13387d230a34e769b51d3c9ae0d0}{dispsize}} = dispsize
\item 
\mbox{\hyperlink{classpygaze_1_1__screen_1_1pygamescreen_1_1_py_game_screen_a3cdc5e290bec902cacac2ebcce48e419}{fgc}} = fgc
\item 
\mbox{\hyperlink{classpygaze_1_1__screen_1_1pygamescreen_1_1_py_game_screen_adab2807605faa3e8c5ad94b074677a9f}{bgc}} = bgc
\item 
\mbox{\hyperlink{classpygaze_1_1__screen_1_1pygamescreen_1_1_py_game_screen_a60c4e494abb1387c65cda41b1a27fabf}{mousevis}} = mousevisible
\item 
\mbox{\hyperlink{classpygaze_1_1__screen_1_1pygamescreen_1_1_py_game_screen_ac2f57b0ee988294510bed29c421cfaf3}{screen}} = pygame.\+Surface(self.\+dispsize)
\end{DoxyCompactItemize}


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

\doxysubsection{Constructor \& Destructor Documentation}
\Hypertarget{classpygaze_1_1__screen_1_1pygamescreen_1_1_py_game_screen_a5bf85901feaee8e45df68740110dfdd2}\index{pygaze.\_screen.pygamescreen.PyGameScreen@{pygaze.\_screen.pygamescreen.PyGameScreen}!\_\_init\_\_@{\_\_init\_\_}}
\index{\_\_init\_\_@{\_\_init\_\_}!pygaze.\_screen.pygamescreen.PyGameScreen@{pygaze.\_screen.pygamescreen.PyGameScreen}}
\doxysubsubsection{\texorpdfstring{\_\_init\_\_()}{\_\_init\_\_()}}
{\footnotesize\ttfamily \label{classpygaze_1_1__screen_1_1pygamescreen_1_1_py_game_screen_a5bf85901feaee8e45df68740110dfdd2} 
pygaze.\+\_\+screen.\+pygamescreen.\+Py\+Game\+Screen.\+\_\+\+\_\+init\+\_\+\+\_\+ (\begin{DoxyParamCaption}\item[{}]{self}{, }\item[{}]{dispsize}{ = {\ttfamily settings.DISPSIZE}, }\item[{}]{fgc}{ = {\ttfamily settings.FGC}, }\item[{}]{bgc}{ = {\ttfamily settings.BGC}, }\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_1pygamescreen_1_1_py_game_screen_ac77d77395e069badd019014abd469819}\index{pygaze.\_screen.pygamescreen.PyGameScreen@{pygaze.\_screen.pygamescreen.PyGameScreen}!clear@{clear}}
\index{clear@{clear}!pygaze.\_screen.pygamescreen.PyGameScreen@{pygaze.\_screen.pygamescreen.PyGameScreen}}
\doxysubsubsection{\texorpdfstring{clear()}{clear()}}
{\footnotesize\ttfamily \label{classpygaze_1_1__screen_1_1pygamescreen_1_1_py_game_screen_ac77d77395e069badd019014abd469819} 
pygaze.\+\_\+screen.\+pygamescreen.\+Py\+Game\+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_1pygamescreen_1_1_py_game_screen_a06385f2a7c6e47158c407d375299eb42}\index{pygaze.\_screen.pygamescreen.PyGameScreen@{pygaze.\_screen.pygamescreen.PyGameScreen}!copy@{copy}}
\index{copy@{copy}!pygaze.\_screen.pygamescreen.PyGameScreen@{pygaze.\_screen.pygamescreen.PyGameScreen}}
\doxysubsubsection{\texorpdfstring{copy()}{copy()}}
{\footnotesize\ttfamily \label{classpygaze_1_1__screen_1_1pygamescreen_1_1_py_game_screen_a06385f2a7c6e47158c407d375299eb42} 
pygaze.\+\_\+screen.\+pygamescreen.\+Py\+Game\+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_1pygamescreen_1_1_py_game_screen_a60e5236ae0f018054be896ef659981f7}\index{pygaze.\_screen.pygamescreen.PyGameScreen@{pygaze.\_screen.pygamescreen.PyGameScreen}!create@{create}}
\index{create@{create}!pygaze.\_screen.pygamescreen.PyGameScreen@{pygaze.\_screen.pygamescreen.PyGameScreen}}
\doxysubsubsection{\texorpdfstring{create()}{create()}}
{\footnotesize\ttfamily \label{classpygaze_1_1__screen_1_1pygamescreen_1_1_py_game_screen_a60e5236ae0f018054be896ef659981f7} 
pygaze.\+\_\+screen.\+pygamescreen.\+Py\+Game\+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_1pygamescreen_1_1_py_game_screen_ae8eaf168fe77fe114aa698fafd0c9bdf}\index{pygaze.\_screen.pygamescreen.PyGameScreen@{pygaze.\_screen.pygamescreen.PyGameScreen}!draw\_circle@{draw\_circle}}
\index{draw\_circle@{draw\_circle}!pygaze.\_screen.pygamescreen.PyGameScreen@{pygaze.\_screen.pygamescreen.PyGameScreen}}
\doxysubsubsection{\texorpdfstring{draw\_circle()}{draw\_circle()}}
{\footnotesize\ttfamily \label{classpygaze_1_1__screen_1_1pygamescreen_1_1_py_game_screen_ae8eaf168fe77fe114aa698fafd0c9bdf} 
pygaze.\+\_\+screen.\+pygamescreen.\+Py\+Game\+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_1pygamescreen_1_1_py_game_screen_a3709cf305f79e8e7efc6e7c829fe2d24}\index{pygaze.\_screen.pygamescreen.PyGameScreen@{pygaze.\_screen.pygamescreen.PyGameScreen}!draw\_ellipse@{draw\_ellipse}}
\index{draw\_ellipse@{draw\_ellipse}!pygaze.\_screen.pygamescreen.PyGameScreen@{pygaze.\_screen.pygamescreen.PyGameScreen}}
\doxysubsubsection{\texorpdfstring{draw\_ellipse()}{draw\_ellipse()}}
{\footnotesize\ttfamily \label{classpygaze_1_1__screen_1_1pygamescreen_1_1_py_game_screen_a3709cf305f79e8e7efc6e7c829fe2d24} 
pygaze.\+\_\+screen.\+pygamescreen.\+Py\+Game\+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_1pygamescreen_1_1_py_game_screen_ac79d0f5d2b8b311f5021d2e16e6022f5}\index{pygaze.\_screen.pygamescreen.PyGameScreen@{pygaze.\_screen.pygamescreen.PyGameScreen}!draw\_fixation@{draw\_fixation}}
\index{draw\_fixation@{draw\_fixation}!pygaze.\_screen.pygamescreen.PyGameScreen@{pygaze.\_screen.pygamescreen.PyGameScreen}}
\doxysubsubsection{\texorpdfstring{draw\_fixation()}{draw\_fixation()}}
{\footnotesize\ttfamily \label{classpygaze_1_1__screen_1_1pygamescreen_1_1_py_game_screen_ac79d0f5d2b8b311f5021d2e16e6022f5} 
pygaze.\+\_\+screen.\+pygamescreen.\+Py\+Game\+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_1pygamescreen_1_1_py_game_screen_a600dc8181b0d4fe6a0cd9c79307d4dc2}\index{pygaze.\_screen.pygamescreen.PyGameScreen@{pygaze.\_screen.pygamescreen.PyGameScreen}!draw\_image@{draw\_image}}
\index{draw\_image@{draw\_image}!pygaze.\_screen.pygamescreen.PyGameScreen@{pygaze.\_screen.pygamescreen.PyGameScreen}}
\doxysubsubsection{\texorpdfstring{draw\_image()}{draw\_image()}}
{\footnotesize\ttfamily \label{classpygaze_1_1__screen_1_1pygamescreen_1_1_py_game_screen_a600dc8181b0d4fe6a0cd9c79307d4dc2} 
pygaze.\+\_\+screen.\+pygamescreen.\+Py\+Game\+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, or a pygame Surface
                    (if image is neither of these, this function will
                    attempt to treat the image as a PIL Image)
        
        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_1pygamescreen_1_1_py_game_screen_afb4cb387da9fabbe787365b0698656db}\index{pygaze.\_screen.pygamescreen.PyGameScreen@{pygaze.\_screen.pygamescreen.PyGameScreen}!draw\_line@{draw\_line}}
\index{draw\_line@{draw\_line}!pygaze.\_screen.pygamescreen.PyGameScreen@{pygaze.\_screen.pygamescreen.PyGameScreen}}
\doxysubsubsection{\texorpdfstring{draw\_line()}{draw\_line()}}
{\footnotesize\ttfamily \label{classpygaze_1_1__screen_1_1pygamescreen_1_1_py_game_screen_afb4cb387da9fabbe787365b0698656db} 
pygaze.\+\_\+screen.\+pygamescreen.\+Py\+Game\+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_1pygamescreen_1_1_py_game_screen_a6d6faa1d769d104225b568303b9519e7}\index{pygaze.\_screen.pygamescreen.PyGameScreen@{pygaze.\_screen.pygamescreen.PyGameScreen}!draw\_polygon@{draw\_polygon}}
\index{draw\_polygon@{draw\_polygon}!pygaze.\_screen.pygamescreen.PyGameScreen@{pygaze.\_screen.pygamescreen.PyGameScreen}}
\doxysubsubsection{\texorpdfstring{draw\_polygon()}{draw\_polygon()}}
{\footnotesize\ttfamily \label{classpygaze_1_1__screen_1_1pygamescreen_1_1_py_game_screen_a6d6faa1d769d104225b568303b9519e7} 
pygaze.\+\_\+screen.\+pygamescreen.\+Py\+Game\+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_1pygamescreen_1_1_py_game_screen_a4320855259a3bd97f428e9ec8e18b5fb}\index{pygaze.\_screen.pygamescreen.PyGameScreen@{pygaze.\_screen.pygamescreen.PyGameScreen}!draw\_rect@{draw\_rect}}
\index{draw\_rect@{draw\_rect}!pygaze.\_screen.pygamescreen.PyGameScreen@{pygaze.\_screen.pygamescreen.PyGameScreen}}
\doxysubsubsection{\texorpdfstring{draw\_rect()}{draw\_rect()}}
{\footnotesize\ttfamily \label{classpygaze_1_1__screen_1_1pygamescreen_1_1_py_game_screen_a4320855259a3bd97f428e9ec8e18b5fb} 
pygaze.\+\_\+screen.\+pygamescreen.\+Py\+Game\+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_1pygamescreen_1_1_py_game_screen_a152793759a8fbaa3e7fc9c20f3477ac5}\index{pygaze.\_screen.pygamescreen.PyGameScreen@{pygaze.\_screen.pygamescreen.PyGameScreen}!draw\_text@{draw\_text}}
\index{draw\_text@{draw\_text}!pygaze.\_screen.pygamescreen.PyGameScreen@{pygaze.\_screen.pygamescreen.PyGameScreen}}
\doxysubsubsection{\texorpdfstring{draw\_text()}{draw\_text()}}
{\footnotesize\ttfamily \label{classpygaze_1_1__screen_1_1pygamescreen_1_1_py_game_screen_a152793759a8fbaa3e7fc9c20f3477ac5} 
pygaze.\+\_\+screen.\+pygamescreen.\+Py\+Game\+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 a TextStim 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_1pygamescreen_1_1_py_game_screen_af9c15354091a1418464d8f66c49e91dc}\index{pygaze.\_screen.pygamescreen.PyGameScreen@{pygaze.\_screen.pygamescreen.PyGameScreen}!set\_background\_colour@{set\_background\_colour}}
\index{set\_background\_colour@{set\_background\_colour}!pygaze.\_screen.pygamescreen.PyGameScreen@{pygaze.\_screen.pygamescreen.PyGameScreen}}
\doxysubsubsection{\texorpdfstring{set\_background\_colour()}{set\_background\_colour()}}
{\footnotesize\ttfamily \label{classpygaze_1_1__screen_1_1pygamescreen_1_1_py_game_screen_af9c15354091a1418464d8f66c49e91dc} 
pygaze.\+\_\+screen.\+pygamescreen.\+Py\+Game\+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_1pygamescreen_1_1_py_game_screen_adab2807605faa3e8c5ad94b074677a9f}\index{pygaze.\_screen.pygamescreen.PyGameScreen@{pygaze.\_screen.pygamescreen.PyGameScreen}!bgc@{bgc}}
\index{bgc@{bgc}!pygaze.\_screen.pygamescreen.PyGameScreen@{pygaze.\_screen.pygamescreen.PyGameScreen}}
\doxysubsubsection{\texorpdfstring{bgc}{bgc}}
{\footnotesize\ttfamily \label{classpygaze_1_1__screen_1_1pygamescreen_1_1_py_game_screen_adab2807605faa3e8c5ad94b074677a9f} 
pygaze.\+\_\+screen.\+pygamescreen.\+Py\+Game\+Screen.\+bgc = bgc}

\Hypertarget{classpygaze_1_1__screen_1_1pygamescreen_1_1_py_game_screen_a3d3e13387d230a34e769b51d3c9ae0d0}\index{pygaze.\_screen.pygamescreen.PyGameScreen@{pygaze.\_screen.pygamescreen.PyGameScreen}!dispsize@{dispsize}}
\index{dispsize@{dispsize}!pygaze.\_screen.pygamescreen.PyGameScreen@{pygaze.\_screen.pygamescreen.PyGameScreen}}
\doxysubsubsection{\texorpdfstring{dispsize}{dispsize}}
{\footnotesize\ttfamily \label{classpygaze_1_1__screen_1_1pygamescreen_1_1_py_game_screen_a3d3e13387d230a34e769b51d3c9ae0d0} 
pygaze.\+\_\+screen.\+pygamescreen.\+Py\+Game\+Screen.\+dispsize = dispsize}

\Hypertarget{classpygaze_1_1__screen_1_1pygamescreen_1_1_py_game_screen_a3cdc5e290bec902cacac2ebcce48e419}\index{pygaze.\_screen.pygamescreen.PyGameScreen@{pygaze.\_screen.pygamescreen.PyGameScreen}!fgc@{fgc}}
\index{fgc@{fgc}!pygaze.\_screen.pygamescreen.PyGameScreen@{pygaze.\_screen.pygamescreen.PyGameScreen}}
\doxysubsubsection{\texorpdfstring{fgc}{fgc}}
{\footnotesize\ttfamily \label{classpygaze_1_1__screen_1_1pygamescreen_1_1_py_game_screen_a3cdc5e290bec902cacac2ebcce48e419} 
pygaze.\+\_\+screen.\+pygamescreen.\+Py\+Game\+Screen.\+fgc = fgc}

\Hypertarget{classpygaze_1_1__screen_1_1pygamescreen_1_1_py_game_screen_a60c4e494abb1387c65cda41b1a27fabf}\index{pygaze.\_screen.pygamescreen.PyGameScreen@{pygaze.\_screen.pygamescreen.PyGameScreen}!mousevis@{mousevis}}
\index{mousevis@{mousevis}!pygaze.\_screen.pygamescreen.PyGameScreen@{pygaze.\_screen.pygamescreen.PyGameScreen}}
\doxysubsubsection{\texorpdfstring{mousevis}{mousevis}}
{\footnotesize\ttfamily \label{classpygaze_1_1__screen_1_1pygamescreen_1_1_py_game_screen_a60c4e494abb1387c65cda41b1a27fabf} 
pygaze.\+\_\+screen.\+pygamescreen.\+Py\+Game\+Screen.\+mousevis = mousevisible}

\Hypertarget{classpygaze_1_1__screen_1_1pygamescreen_1_1_py_game_screen_ac2f57b0ee988294510bed29c421cfaf3}\index{pygaze.\_screen.pygamescreen.PyGameScreen@{pygaze.\_screen.pygamescreen.PyGameScreen}!screen@{screen}}
\index{screen@{screen}!pygaze.\_screen.pygamescreen.PyGameScreen@{pygaze.\_screen.pygamescreen.PyGameScreen}}
\doxysubsubsection{\texorpdfstring{screen}{screen}}
{\footnotesize\ttfamily \label{classpygaze_1_1__screen_1_1pygamescreen_1_1_py_game_screen_ac2f57b0ee988294510bed29c421cfaf3} 
pygaze.\+\_\+screen.\+pygamescreen.\+Py\+Game\+Screen.\+screen = pygame.\+Surface(self.\+dispsize)}



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