\doxysection{pygaze.\+\_\+screen.\+basescreen.\+Base\+Screen Class Reference}
\hypertarget{classpygaze_1_1__screen_1_1basescreen_1_1_base_screen}{}\label{classpygaze_1_1__screen_1_1basescreen_1_1_base_screen}\index{pygaze.\_screen.basescreen.BaseScreen@{pygaze.\_screen.basescreen.BaseScreen}}
Inheritance diagram for pygaze.\+\_\+screen.\+basescreen.\+Base\+Screen\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=0.900322cm]{classpygaze_1_1__screen_1_1basescreen_1_1_base_screen}
\end{center}
\end{figure}
\doxysubsubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{classpygaze_1_1__screen_1_1basescreen_1_1_base_screen_ab2058504a9ad3a8a066eed47dd1a7859}{\+\_\+\+\_\+init\+\_\+\+\_\+}} (self)
\item 
\mbox{\hyperlink{classpygaze_1_1__screen_1_1basescreen_1_1_base_screen_a12c6e7e2eade04c674a5209a46960692}{create}} (self)
\item 
\mbox{\hyperlink{classpygaze_1_1__screen_1_1basescreen_1_1_base_screen_a95592480a70711683f17184cfa32fa5d}{clear}} (self)
\item 
\mbox{\hyperlink{classpygaze_1_1__screen_1_1basescreen_1_1_base_screen_a770838a03e6861ab95b577b7b66f7569}{copy}} (self)
\item 
\mbox{\hyperlink{classpygaze_1_1__screen_1_1basescreen_1_1_base_screen_a195256aa2264d1c8d03543154130aec2}{draw\+\_\+circle}} (self)
\item 
\mbox{\hyperlink{classpygaze_1_1__screen_1_1basescreen_1_1_base_screen_a6fc5396d80eba5d0e2e41d7d38004ac2}{draw\+\_\+ellipse}} (self)
\item 
\mbox{\hyperlink{classpygaze_1_1__screen_1_1basescreen_1_1_base_screen_a2fa1e5bde6cb71c4d5a3db8a17763d66}{draw\+\_\+rect}} (self)
\item 
\mbox{\hyperlink{classpygaze_1_1__screen_1_1basescreen_1_1_base_screen_a75c2a62bf997a69db456a0958681f767}{draw\+\_\+line}} (self)
\item 
\mbox{\hyperlink{classpygaze_1_1__screen_1_1basescreen_1_1_base_screen_acfba17c9649774011adcd87f98ced7ed}{draw\+\_\+polygon}} (self)
\item 
\mbox{\hyperlink{classpygaze_1_1__screen_1_1basescreen_1_1_base_screen_a15deecab36bc1f67a0a965a0c6c0ed16}{draw\+\_\+fixation}} (self)
\item 
\mbox{\hyperlink{classpygaze_1_1__screen_1_1basescreen_1_1_base_screen_aef3cc8241941b00d13b352e7872ca976}{draw\+\_\+text}} (self)
\item 
\mbox{\hyperlink{classpygaze_1_1__screen_1_1basescreen_1_1_base_screen_a50eebd2e36fca874f63a71047c8ef6d9}{draw\+\_\+image}} (self)
\item 
\mbox{\hyperlink{classpygaze_1_1__screen_1_1basescreen_1_1_base_screen_ad2d3d2ea8bd21d19454b493b40606ceb}{set\+\_\+background\+\_\+colour}} (self)
\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_1basescreen_1_1_base_screen_ab2058504a9ad3a8a066eed47dd1a7859}\index{pygaze.\_screen.basescreen.BaseScreen@{pygaze.\_screen.basescreen.BaseScreen}!\_\_init\_\_@{\_\_init\_\_}}
\index{\_\_init\_\_@{\_\_init\_\_}!pygaze.\_screen.basescreen.BaseScreen@{pygaze.\_screen.basescreen.BaseScreen}}
\doxysubsubsection{\texorpdfstring{\_\_init\_\_()}{\_\_init\_\_()}}
{\footnotesize\ttfamily \label{classpygaze_1_1__screen_1_1basescreen_1_1_base_screen_ab2058504a9ad3a8a066eed47dd1a7859} 
pygaze.\+\_\+screen.\+basescreen.\+Base\+Screen.\+\_\+\+\_\+init\+\_\+\+\_\+ (\begin{DoxyParamCaption}\item[{}]{self}{}\end{DoxyParamCaption})}

\begin{DoxyVerb}        Initializes a Screen instance
        
        arguments
        
        None
        
        keyword arguments
        
        dispsize    --  a (width, height) tuple indicating the display
                    resolution (default = DISPSIZE)
        fgc     --  foreground colour: a RGB tuple, e.g. (255,0,0)
                    for red or (0,0,0) for black (default = FGC)
        bgc     --  background colour: a RGB tuple, e.g. (255,0,0)
                    for red or (0,0,0) for black (default = BGC)
        mousevisible    --  Boolean indicating if the mouse should be
                        visible or not (default = MOUSEVISIBLE)
                        WARNING: DEPRECATED
        screen  --  a pygaze.screen.Screen instance that is to be
                    copied onto the current screen
\end{DoxyVerb}
 

\doxysubsection{Member Function Documentation}
\Hypertarget{classpygaze_1_1__screen_1_1basescreen_1_1_base_screen_a95592480a70711683f17184cfa32fa5d}\index{pygaze.\_screen.basescreen.BaseScreen@{pygaze.\_screen.basescreen.BaseScreen}!clear@{clear}}
\index{clear@{clear}!pygaze.\_screen.basescreen.BaseScreen@{pygaze.\_screen.basescreen.BaseScreen}}
\doxysubsubsection{\texorpdfstring{clear()}{clear()}}
{\footnotesize\ttfamily \label{classpygaze_1_1__screen_1_1basescreen_1_1_base_screen_a95592480a70711683f17184cfa32fa5d} 
pygaze.\+\_\+screen.\+basescreen.\+Base\+Screen.\+clear (\begin{DoxyParamCaption}\item[{}]{self}{}\end{DoxyParamCaption})}

\begin{DoxyVerb}        Clears the screen and fills it with a colour
        
        arguments

        None
        
        keyword arguments

        colour  --  drawing colour colour: a RGB tuple, e.g. (255,0,0)
                    for red or (0,0,0) for black; or None for the
                    default foreground colour, self.fgc (default = None)
        
        returns

        None        --  clears self.screen property
\end{DoxyVerb}
 

Reimplemented in \mbox{\hyperlink{classpygaze_1_1__screen_1_1osscreen_1_1_o_s_screen_a03e982a851729942264dd6017fc63e4c}{pygaze.\+\_\+screen.\+osscreen.\+OSScreen}}, \mbox{\hyperlink{classpygaze_1_1__screen_1_1psychopyscreen_1_1_psycho_py_screen_a8467796184cb5ae6730bff91e4c95abf}{pygaze.\+\_\+screen.\+psychopyscreen.\+Psycho\+Py\+Screen}}, and \mbox{\hyperlink{classpygaze_1_1__screen_1_1pygamescreen_1_1_py_game_screen_ac77d77395e069badd019014abd469819}{pygaze.\+\_\+screen.\+pygamescreen.\+Py\+Game\+Screen}}.

\Hypertarget{classpygaze_1_1__screen_1_1basescreen_1_1_base_screen_a770838a03e6861ab95b577b7b66f7569}\index{pygaze.\_screen.basescreen.BaseScreen@{pygaze.\_screen.basescreen.BaseScreen}!copy@{copy}}
\index{copy@{copy}!pygaze.\_screen.basescreen.BaseScreen@{pygaze.\_screen.basescreen.BaseScreen}}
\doxysubsubsection{\texorpdfstring{copy()}{copy()}}
{\footnotesize\ttfamily \label{classpygaze_1_1__screen_1_1basescreen_1_1_base_screen_a770838a03e6861ab95b577b7b66f7569} 
pygaze.\+\_\+screen.\+basescreen.\+Base\+Screen.\+copy (\begin{DoxyParamCaption}\item[{}]{self}{}\end{DoxyParamCaption})}

\begin{DoxyVerb}        Copies a screen to the current screen
        
        arguments

        screen  --  a screen.Screen instance
        
        keyword arguments
        
        None
        
        returns

        None        --  sets the self.screen property to a copy of
                    screen.screen
\end{DoxyVerb}
 

Reimplemented in \mbox{\hyperlink{classpygaze_1_1__screen_1_1osscreen_1_1_o_s_screen_a006c7b1254bdea2f5e37684e6bc780cd}{pygaze.\+\_\+screen.\+osscreen.\+OSScreen}}, \mbox{\hyperlink{classpygaze_1_1__screen_1_1psychopyscreen_1_1_psycho_py_screen_aa1053c24e7e40236364b0ff51f40b79d}{pygaze.\+\_\+screen.\+psychopyscreen.\+Psycho\+Py\+Screen}}, and \mbox{\hyperlink{classpygaze_1_1__screen_1_1pygamescreen_1_1_py_game_screen_a06385f2a7c6e47158c407d375299eb42}{pygaze.\+\_\+screen.\+pygamescreen.\+Py\+Game\+Screen}}.

\Hypertarget{classpygaze_1_1__screen_1_1basescreen_1_1_base_screen_a12c6e7e2eade04c674a5209a46960692}\index{pygaze.\_screen.basescreen.BaseScreen@{pygaze.\_screen.basescreen.BaseScreen}!create@{create}}
\index{create@{create}!pygaze.\_screen.basescreen.BaseScreen@{pygaze.\_screen.basescreen.BaseScreen}}
\doxysubsubsection{\texorpdfstring{create()}{create()}}
{\footnotesize\ttfamily \label{classpygaze_1_1__screen_1_1basescreen_1_1_base_screen_a12c6e7e2eade04c674a5209a46960692} 
pygaze.\+\_\+screen.\+basescreen.\+Base\+Screen.\+create (\begin{DoxyParamCaption}\item[{}]{self}{}\end{DoxyParamCaption})}

\begin{DoxyVerb}        Creates a new Screen instance, filled with either the background
        colour or specified screen (this method is sort of a secondary
        constructor and intended for internal use; calling it will reset
        the Screen)
        
        arguments
        
        None
        
        keyword arguments

        screen  --  a screen.Screen instance, to be displayed on the
                    new Screen or None for the background colour
        
        returns

        None        --  sets the self.screen property to a PyGame Surface
                    or a list of PsychoPy stimuli, depening on the
                    disptype
\end{DoxyVerb}
 

Reimplemented in \mbox{\hyperlink{classpygaze_1_1__screen_1_1osscreen_1_1_o_s_screen_a7c3ead9abeb5329bad5b24e0193f2f48}{pygaze.\+\_\+screen.\+osscreen.\+OSScreen}}, \mbox{\hyperlink{classpygaze_1_1__screen_1_1psychopyscreen_1_1_psycho_py_screen_a535bcc50efa9c0e40f61b9abe8c5cdff}{pygaze.\+\_\+screen.\+psychopyscreen.\+Psycho\+Py\+Screen}}, and \mbox{\hyperlink{classpygaze_1_1__screen_1_1pygamescreen_1_1_py_game_screen_a60e5236ae0f018054be896ef659981f7}{pygaze.\+\_\+screen.\+pygamescreen.\+Py\+Game\+Screen}}.

\Hypertarget{classpygaze_1_1__screen_1_1basescreen_1_1_base_screen_a195256aa2264d1c8d03543154130aec2}\index{pygaze.\_screen.basescreen.BaseScreen@{pygaze.\_screen.basescreen.BaseScreen}!draw\_circle@{draw\_circle}}
\index{draw\_circle@{draw\_circle}!pygaze.\_screen.basescreen.BaseScreen@{pygaze.\_screen.basescreen.BaseScreen}}
\doxysubsubsection{\texorpdfstring{draw\_circle()}{draw\_circle()}}
{\footnotesize\ttfamily \label{classpygaze_1_1__screen_1_1basescreen_1_1_base_screen_a195256aa2264d1c8d03543154130aec2} 
pygaze.\+\_\+screen.\+basescreen.\+Base\+Screen.\+draw\+\_\+circle (\begin{DoxyParamCaption}\item[{}]{self}{}\end{DoxyParamCaption})}

\begin{DoxyVerb}        Draws a circle on the Screen
        
        arguments

        None
        
        keyword arguments

        colour  --  drawing colour colour: a RGB tuple, e.g. (255,0,0)
                    for red or (0,0,0) for black; or None for the
                    default foreground colour, self.fgc (default = None)
        pos     --  circle center, a (x,y) position tuple or None for a
                    central position (default = None)
        r       --  circle radius (default = 50)
        pw      --  penwidth: line thickness (default = 1)
        fill        --  Boolean indicating whether stimulus should be
                    filled or not (default = False)
        
        returns
        
        None        --  draws a circle on the Screen
\end{DoxyVerb}
 

Reimplemented in \mbox{\hyperlink{classpygaze_1_1__screen_1_1osscreen_1_1_o_s_screen_ad2c5f7d79a37466c26e5c021021e5aae}{pygaze.\+\_\+screen.\+osscreen.\+OSScreen}}, \mbox{\hyperlink{classpygaze_1_1__screen_1_1psychopyscreen_1_1_psycho_py_screen_a0cd27861a02fd3c1d348809eca526c6a}{pygaze.\+\_\+screen.\+psychopyscreen.\+Psycho\+Py\+Screen}}, and \mbox{\hyperlink{classpygaze_1_1__screen_1_1pygamescreen_1_1_py_game_screen_ae8eaf168fe77fe114aa698fafd0c9bdf}{pygaze.\+\_\+screen.\+pygamescreen.\+Py\+Game\+Screen}}.

\Hypertarget{classpygaze_1_1__screen_1_1basescreen_1_1_base_screen_a6fc5396d80eba5d0e2e41d7d38004ac2}\index{pygaze.\_screen.basescreen.BaseScreen@{pygaze.\_screen.basescreen.BaseScreen}!draw\_ellipse@{draw\_ellipse}}
\index{draw\_ellipse@{draw\_ellipse}!pygaze.\_screen.basescreen.BaseScreen@{pygaze.\_screen.basescreen.BaseScreen}}
\doxysubsubsection{\texorpdfstring{draw\_ellipse()}{draw\_ellipse()}}
{\footnotesize\ttfamily \label{classpygaze_1_1__screen_1_1basescreen_1_1_base_screen_a6fc5396d80eba5d0e2e41d7d38004ac2} 
pygaze.\+\_\+screen.\+basescreen.\+Base\+Screen.\+draw\+\_\+ellipse (\begin{DoxyParamCaption}\item[{}]{self}{}\end{DoxyParamCaption})}

\begin{DoxyVerb}        Draws an ellipse on the Screen
        
        arguments

        None
        
        keyword arguments

        colour  --  drawing colour colour: a RGB tuple, e.g. (255,0,0)
                    for red or (0,0,0) for black; 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: line thickness (default = 1)
        fill        --  Boolean indicating whether stimulus should be
                    filled or not (default = False)
        
        returns
        
        None        --  draws an ellipse on the Screen
\end{DoxyVerb}
 

Reimplemented in \mbox{\hyperlink{classpygaze_1_1__screen_1_1osscreen_1_1_o_s_screen_a5a87b4fde1b33236c855097f8f8e40ee}{pygaze.\+\_\+screen.\+osscreen.\+OSScreen}}, \mbox{\hyperlink{classpygaze_1_1__screen_1_1psychopyscreen_1_1_psycho_py_screen_a5f8cac5395083e6ea4972daa9562085e}{pygaze.\+\_\+screen.\+psychopyscreen.\+Psycho\+Py\+Screen}}, and \mbox{\hyperlink{classpygaze_1_1__screen_1_1pygamescreen_1_1_py_game_screen_a3709cf305f79e8e7efc6e7c829fe2d24}{pygaze.\+\_\+screen.\+pygamescreen.\+Py\+Game\+Screen}}.

\Hypertarget{classpygaze_1_1__screen_1_1basescreen_1_1_base_screen_a15deecab36bc1f67a0a965a0c6c0ed16}\index{pygaze.\_screen.basescreen.BaseScreen@{pygaze.\_screen.basescreen.BaseScreen}!draw\_fixation@{draw\_fixation}}
\index{draw\_fixation@{draw\_fixation}!pygaze.\_screen.basescreen.BaseScreen@{pygaze.\_screen.basescreen.BaseScreen}}
\doxysubsubsection{\texorpdfstring{draw\_fixation()}{draw\_fixation()}}
{\footnotesize\ttfamily \label{classpygaze_1_1__screen_1_1basescreen_1_1_base_screen_a15deecab36bc1f67a0a965a0c6c0ed16} 
pygaze.\+\_\+screen.\+basescreen.\+Base\+Screen.\+draw\+\_\+fixation (\begin{DoxyParamCaption}\item[{}]{self}{}\end{DoxyParamCaption})}

\begin{DoxyVerb}        Draws a fixation target (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  --  drawing colour colour: a RGB tuple, e.g. (255,0,0)
                    for red or (0,0,0) for black; or None for the
                    default foreground colour, self.fgc (default = None)
        pos     --  fixation center, a (x,y) position tuple or None for
                    a central position (default = None)
        pw      --  penwidth: line thickness (default = 1)
        diameter    --  diameter of the fixation mark in pixels (default = 12)
        
        returns

        None        -- draws a fixation target on the Screen
\end{DoxyVerb}
 

Reimplemented in \mbox{\hyperlink{classpygaze_1_1__screen_1_1osscreen_1_1_o_s_screen_a0914204fe09d75bb76b9f1b03df401c3}{pygaze.\+\_\+screen.\+osscreen.\+OSScreen}}, \mbox{\hyperlink{classpygaze_1_1__screen_1_1psychopyscreen_1_1_psycho_py_screen_a819bcb2c491b5f72c5cbcb5a6c0861e2}{pygaze.\+\_\+screen.\+psychopyscreen.\+Psycho\+Py\+Screen}}, and \mbox{\hyperlink{classpygaze_1_1__screen_1_1pygamescreen_1_1_py_game_screen_ac79d0f5d2b8b311f5021d2e16e6022f5}{pygaze.\+\_\+screen.\+pygamescreen.\+Py\+Game\+Screen}}.

\Hypertarget{classpygaze_1_1__screen_1_1basescreen_1_1_base_screen_a50eebd2e36fca874f63a71047c8ef6d9}\index{pygaze.\_screen.basescreen.BaseScreen@{pygaze.\_screen.basescreen.BaseScreen}!draw\_image@{draw\_image}}
\index{draw\_image@{draw\_image}!pygaze.\_screen.basescreen.BaseScreen@{pygaze.\_screen.basescreen.BaseScreen}}
\doxysubsubsection{\texorpdfstring{draw\_image()}{draw\_image()}}
{\footnotesize\ttfamily \label{classpygaze_1_1__screen_1_1basescreen_1_1_base_screen_a50eebd2e36fca874f63a71047c8ef6d9} 
pygaze.\+\_\+screen.\+basescreen.\+Base\+Screen.\+draw\+\_\+image (\begin{DoxyParamCaption}\item[{}]{self}{}\end{DoxyParamCaption})}

\begin{DoxyVerb}        Draws an image on the Screen
        
        arguments

        image       --  a full path to an image file, a PIL Image, or a
                    pygame Surface (pygame Surface only recognized if
                    disptype == 'pygame'); NOTE: if image is neither of
                    these, this function will attempt to treat the
                    image as a PIL Image, and will raise an Exception
                    if this fails
        
        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

        None        --  loads and draws an image on the Screen
\end{DoxyVerb}
 

Reimplemented in \mbox{\hyperlink{classpygaze_1_1__screen_1_1osscreen_1_1_o_s_screen_a55789f2bf12f8952696e8ebeac91c90c}{pygaze.\+\_\+screen.\+osscreen.\+OSScreen}}, \mbox{\hyperlink{classpygaze_1_1__screen_1_1psychopyscreen_1_1_psycho_py_screen_a591145d490a94c507166709e2e11d51e}{pygaze.\+\_\+screen.\+psychopyscreen.\+Psycho\+Py\+Screen}}, and \mbox{\hyperlink{classpygaze_1_1__screen_1_1pygamescreen_1_1_py_game_screen_a600dc8181b0d4fe6a0cd9c79307d4dc2}{pygaze.\+\_\+screen.\+pygamescreen.\+Py\+Game\+Screen}}.

\Hypertarget{classpygaze_1_1__screen_1_1basescreen_1_1_base_screen_a75c2a62bf997a69db456a0958681f767}\index{pygaze.\_screen.basescreen.BaseScreen@{pygaze.\_screen.basescreen.BaseScreen}!draw\_line@{draw\_line}}
\index{draw\_line@{draw\_line}!pygaze.\_screen.basescreen.BaseScreen@{pygaze.\_screen.basescreen.BaseScreen}}
\doxysubsubsection{\texorpdfstring{draw\_line()}{draw\_line()}}
{\footnotesize\ttfamily \label{classpygaze_1_1__screen_1_1basescreen_1_1_base_screen_a75c2a62bf997a69db456a0958681f767} 
pygaze.\+\_\+screen.\+basescreen.\+Base\+Screen.\+draw\+\_\+line (\begin{DoxyParamCaption}\item[{}]{self}{}\end{DoxyParamCaption})}

\begin{DoxyVerb}        Draws a line on the Screen
        
        arguments

        None
        
        keyword arguments

        colour  --  drawing colour colour: a RGB tuple, e.g. (255,0,0)
                    for red or (0,0,0) for black; or None for the
                    default foreground colour, self.fgc (default = None)
        spos        --  line start, a (x,y) position tuple or None for a
                    quarter x and a central y position (default = None)
        epos        --  line end, a  (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

        None        -- draws a line on the Screen
\end{DoxyVerb}
 

Reimplemented in \mbox{\hyperlink{classpygaze_1_1__screen_1_1osscreen_1_1_o_s_screen_a33c6e1960e1f4c01bda60fd4f616b173}{pygaze.\+\_\+screen.\+osscreen.\+OSScreen}}, \mbox{\hyperlink{classpygaze_1_1__screen_1_1psychopyscreen_1_1_psycho_py_screen_a9c243dd6ba08653aa2db1bad450d0309}{pygaze.\+\_\+screen.\+psychopyscreen.\+Psycho\+Py\+Screen}}, and \mbox{\hyperlink{classpygaze_1_1__screen_1_1pygamescreen_1_1_py_game_screen_afb4cb387da9fabbe787365b0698656db}{pygaze.\+\_\+screen.\+pygamescreen.\+Py\+Game\+Screen}}.

\Hypertarget{classpygaze_1_1__screen_1_1basescreen_1_1_base_screen_acfba17c9649774011adcd87f98ced7ed}\index{pygaze.\_screen.basescreen.BaseScreen@{pygaze.\_screen.basescreen.BaseScreen}!draw\_polygon@{draw\_polygon}}
\index{draw\_polygon@{draw\_polygon}!pygaze.\_screen.basescreen.BaseScreen@{pygaze.\_screen.basescreen.BaseScreen}}
\doxysubsubsection{\texorpdfstring{draw\_polygon()}{draw\_polygon()}}
{\footnotesize\ttfamily \label{classpygaze_1_1__screen_1_1basescreen_1_1_base_screen_acfba17c9649774011adcd87f98ced7ed} 
pygaze.\+\_\+screen.\+basescreen.\+Base\+Screen.\+draw\+\_\+polygon (\begin{DoxyParamCaption}\item[{}]{self}{}\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  --  drawing colour colour: a RGB tuple, e.g. (255,0,0)
                    for red or (0,0,0) for black; or None for the
                    default foreground colour, self.fgc (default = None)
        pw      --  penwidth: line thickness (default = 1)
        fill        --  Boolean indicating whether stimulus should be
                    filled or not (default = False)
        
        returns

        None        --  draws a polygon on the Screen
\end{DoxyVerb}
 

Reimplemented in \mbox{\hyperlink{classpygaze_1_1__screen_1_1osscreen_1_1_o_s_screen_a8827c8930184c002702864505e81b06f}{pygaze.\+\_\+screen.\+osscreen.\+OSScreen}}, \mbox{\hyperlink{classpygaze_1_1__screen_1_1psychopyscreen_1_1_psycho_py_screen_adfbe81dc7668a4f106617a18e5b24c50}{pygaze.\+\_\+screen.\+psychopyscreen.\+Psycho\+Py\+Screen}}, and \mbox{\hyperlink{classpygaze_1_1__screen_1_1pygamescreen_1_1_py_game_screen_a6d6faa1d769d104225b568303b9519e7}{pygaze.\+\_\+screen.\+pygamescreen.\+Py\+Game\+Screen}}.

\Hypertarget{classpygaze_1_1__screen_1_1basescreen_1_1_base_screen_a2fa1e5bde6cb71c4d5a3db8a17763d66}\index{pygaze.\_screen.basescreen.BaseScreen@{pygaze.\_screen.basescreen.BaseScreen}!draw\_rect@{draw\_rect}}
\index{draw\_rect@{draw\_rect}!pygaze.\_screen.basescreen.BaseScreen@{pygaze.\_screen.basescreen.BaseScreen}}
\doxysubsubsection{\texorpdfstring{draw\_rect()}{draw\_rect()}}
{\footnotesize\ttfamily \label{classpygaze_1_1__screen_1_1basescreen_1_1_base_screen_a2fa1e5bde6cb71c4d5a3db8a17763d66} 
pygaze.\+\_\+screen.\+basescreen.\+Base\+Screen.\+draw\+\_\+rect (\begin{DoxyParamCaption}\item[{}]{self}{}\end{DoxyParamCaption})}

\begin{DoxyVerb}        Draws a rectangle on the Screen
        
        arguments

        None
        
        keyword arguments

        colour  --  drawing colour colour: a RGB tuple, e.g. (255,0,0)
                    for red or (0,0,0) for black; 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: line thickness (default = 1)
        fill        --  Boolean indicating whether stimulus should be
                    filled or not (default = False)
        
        returns

        None        -- draws a rectangle on the Screen
\end{DoxyVerb}
 

Reimplemented in \mbox{\hyperlink{classpygaze_1_1__screen_1_1osscreen_1_1_o_s_screen_ab859470650e1b253b5206103930b9ddc}{pygaze.\+\_\+screen.\+osscreen.\+OSScreen}}, \mbox{\hyperlink{classpygaze_1_1__screen_1_1psychopyscreen_1_1_psycho_py_screen_ab13e8f4166529e2c64ffb6924b584ead}{pygaze.\+\_\+screen.\+psychopyscreen.\+Psycho\+Py\+Screen}}, and \mbox{\hyperlink{classpygaze_1_1__screen_1_1pygamescreen_1_1_py_game_screen_a4320855259a3bd97f428e9ec8e18b5fb}{pygaze.\+\_\+screen.\+pygamescreen.\+Py\+Game\+Screen}}.

\Hypertarget{classpygaze_1_1__screen_1_1basescreen_1_1_base_screen_aef3cc8241941b00d13b352e7872ca976}\index{pygaze.\_screen.basescreen.BaseScreen@{pygaze.\_screen.basescreen.BaseScreen}!draw\_text@{draw\_text}}
\index{draw\_text@{draw\_text}!pygaze.\_screen.basescreen.BaseScreen@{pygaze.\_screen.basescreen.BaseScreen}}
\doxysubsubsection{\texorpdfstring{draw\_text()}{draw\_text()}}
{\footnotesize\ttfamily \label{classpygaze_1_1__screen_1_1basescreen_1_1_base_screen_aef3cc8241941b00d13b352e7872ca976} 
pygaze.\+\_\+screen.\+basescreen.\+Base\+Screen.\+draw\+\_\+text (\begin{DoxyParamCaption}\item[{}]{self}{}\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  --  drawing colour colour: a RGB tuple, e.g. (255,0,0)
                    for red or (0,0,0) for black; or None for the
                    default foreground colour, self.fgc (default = None)
        pos     --  text position, a (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 left
                    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

        None        --  renders and draws text on the Screen
\end{DoxyVerb}
 

Reimplemented in \mbox{\hyperlink{classpygaze_1_1__screen_1_1osscreen_1_1_o_s_screen_af8eea007ce50bd05077809158aa31ac0}{pygaze.\+\_\+screen.\+osscreen.\+OSScreen}}, \mbox{\hyperlink{classpygaze_1_1__screen_1_1psychopyscreen_1_1_psycho_py_screen_a4cad90a1dbe1b613ea8d2f71303258af}{pygaze.\+\_\+screen.\+psychopyscreen.\+Psycho\+Py\+Screen}}, and \mbox{\hyperlink{classpygaze_1_1__screen_1_1pygamescreen_1_1_py_game_screen_a152793759a8fbaa3e7fc9c20f3477ac5}{pygaze.\+\_\+screen.\+pygamescreen.\+Py\+Game\+Screen}}.

\Hypertarget{classpygaze_1_1__screen_1_1basescreen_1_1_base_screen_ad2d3d2ea8bd21d19454b493b40606ceb}\index{pygaze.\_screen.basescreen.BaseScreen@{pygaze.\_screen.basescreen.BaseScreen}!set\_background\_colour@{set\_background\_colour}}
\index{set\_background\_colour@{set\_background\_colour}!pygaze.\_screen.basescreen.BaseScreen@{pygaze.\_screen.basescreen.BaseScreen}}
\doxysubsubsection{\texorpdfstring{set\_background\_colour()}{set\_background\_colour()}}
{\footnotesize\ttfamily \label{classpygaze_1_1__screen_1_1basescreen_1_1_base_screen_ad2d3d2ea8bd21d19454b493b40606ceb} 
pygaze.\+\_\+screen.\+basescreen.\+Base\+Screen.\+set\+\_\+background\+\_\+colour (\begin{DoxyParamCaption}\item[{}]{self}{}\end{DoxyParamCaption})}

\begin{DoxyVerb}        Set the background colour
        
        arguments
        
        None
        
        keyword arguments

        colour  --  intended colour: a RGB tuple, e.g. (255,0,0)
                    for red or (0,0,0) for black; or None for the
                    default foreground colour, self.fgc (default = None)
        
        returns

        None        --  sets bgc property to specified colour
\end{DoxyVerb}
 

Reimplemented in \mbox{\hyperlink{classpygaze_1_1__screen_1_1osscreen_1_1_o_s_screen_afbd12ae6a7b5c3f51d14a48c72d73b3a}{pygaze.\+\_\+screen.\+osscreen.\+OSScreen}}, \mbox{\hyperlink{classpygaze_1_1__screen_1_1psychopyscreen_1_1_psycho_py_screen_a963e915964968769b3e418198b48f59f}{pygaze.\+\_\+screen.\+psychopyscreen.\+Psycho\+Py\+Screen}}, and \mbox{\hyperlink{classpygaze_1_1__screen_1_1pygamescreen_1_1_py_game_screen_af9c15354091a1418464d8f66c49e91dc}{pygaze.\+\_\+screen.\+pygamescreen.\+Py\+Game\+Screen}}.



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