\hypertarget{class_rectangle2}{}\doxysection{Rectangle2 Class Reference}
\label{class_rectangle2}\index{Rectangle2@{Rectangle2}}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{class_rectangle2_abfdd8139584e58a6fbeb93fd0a058c4e}\label{class_rectangle2_abfdd8139584e58a6fbeb93fd0a058c4e}} 
{\bfseries Rectangle2} (int x, int y, int width, int height)
\item 
\mbox{\Hypertarget{class_rectangle2_a5d34971c28763c49ca6fcdbbdb16cc59}\label{class_rectangle2_a5d34971c28763c49ca6fcdbbdb16cc59}} 
{\bfseries Rectangle2} (int width, int height)
\item 
\mbox{\Hypertarget{class_rectangle2_a54e499f7bdbf92dde73aafa25ef6e2e6}\label{class_rectangle2_a54e499f7bdbf92dde73aafa25ef6e2e6}} 
bool {\bfseries contains} (const \mbox{\hyperlink{class_point2}{Point2}} \&p)
\item 
\mbox{\Hypertarget{class_rectangle2_a624f1950cdc2c9915eef4a96404b90b4}\label{class_rectangle2_a624f1950cdc2c9915eef4a96404b90b4}} 
bool {\bfseries contains} (int x, int y)
\item 
bool \mbox{\hyperlink{class_rectangle2_aacc335024d8e8805b9eb44ff8cc3d857}{inside}} (int X, int Y)
\item 
\mbox{\Hypertarget{class_rectangle2_a847100bf9c7ae39ee8d4731a8a9950a5}\label{class_rectangle2_a847100bf9c7ae39ee8d4731a8a9950a5}} 
void {\bfseries set\+Bounds} (\mbox{\hyperlink{class_rectangle2}{Rectangle2}} r)
\item 
\mbox{\Hypertarget{class_rectangle2_a483b72ddf3869477bdd54fc8eb23ca97}\label{class_rectangle2_a483b72ddf3869477bdd54fc8eb23ca97}} 
void {\bfseries set\+Bounds} (int x, int y, int width, int height)
\item 
\mbox{\Hypertarget{class_rectangle2_a334a0c42411caddc200116bd7083888f}\label{class_rectangle2_a334a0c42411caddc200116bd7083888f}} 
void {\bfseries reshape} (int x, int y, int width, int height)
\end{DoxyCompactItemize}
\doxysubsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{class_rectangle2_a1abbd0c8ba1bf29ee12a7838e5c56e25}\label{class_rectangle2_a1abbd0c8ba1bf29ee12a7838e5c56e25}} 
int {\bfseries x}
\item 
\mbox{\Hypertarget{class_rectangle2_ae6b1440375ce0794493c6cf97d44abbf}\label{class_rectangle2_ae6b1440375ce0794493c6cf97d44abbf}} 
int {\bfseries y}
\item 
\mbox{\Hypertarget{class_rectangle2_a7c6f68fd82921def12b1c54e805934ee}\label{class_rectangle2_a7c6f68fd82921def12b1c54e805934ee}} 
int {\bfseries width}
\item 
\mbox{\Hypertarget{class_rectangle2_a19b769061f4e8ab35d5a7c3594d6b3cb}\label{class_rectangle2_a19b769061f4e8ab35d5a7c3594d6b3cb}} 
int {\bfseries height}
\end{DoxyCompactItemize}


\doxysubsection{Member Function Documentation}
\mbox{\Hypertarget{class_rectangle2_aacc335024d8e8805b9eb44ff8cc3d857}\label{class_rectangle2_aacc335024d8e8805b9eb44ff8cc3d857}} 
\index{Rectangle2@{Rectangle2}!inside@{inside}}
\index{inside@{inside}!Rectangle2@{Rectangle2}}
\doxysubsubsection{\texorpdfstring{inside()}{inside()}}
{\footnotesize\ttfamily bool Rectangle2\+::inside (\begin{DoxyParamCaption}\item[{int}]{X,  }\item[{int}]{Y }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

Checks whether or not this {\ttfamily Rectangle} contains the point at the specified location
\begin{DoxyCode}{0}
\DoxyCodeLine{(X,Y) }
\end{DoxyCode}
 .


\begin{DoxyParams}{Parameters}
{\em X} & the specified X coordinate \\
\hline
{\em Y} & the specified Y coordinate \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily true} if the point 
\begin{DoxyCode}{0}
\DoxyCodeLine{(X,Y) }
\end{DoxyCode}
 is inside this {\ttfamily Rectangle}; {\ttfamily false} otherwise. 
\end{DoxyReturn}


The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
src/\+V\+N\+Media\+Client\+N\+E\+T/Rectangle.\+h\end{DoxyCompactItemize}
