opsu-dance/lib/slick/javadoc/org/newdawn/slick/Graphics.html
2014-06-29 22:17:04 -04:00

2461 lines
101 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_34) on Mon Jun 03 22:20:31 BST 2013 -->
<TITLE>
Graphics (Slick - The 2D Library)
</TITLE>
<META NAME="date" CONTENT="2013-06-03">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
<SCRIPT type="text/javascript">
function windowTitle()
{
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Graphics (Slick - The 2D Library)";
}
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>
</HEAD>
<BODY BGCOLOR="white" onload="windowTitle();">
<HR>
<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Graphics.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../org/newdawn/slick/GameContainer.html" title="class in org.newdawn.slick"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../org/newdawn/slick/Image.html" title="class in org.newdawn.slick"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../index.html?org/newdawn/slick/Graphics.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="Graphics.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
org.newdawn.slick</FONT>
<BR>
Class Graphics</H2>
<PRE>
java.lang.Object
<IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>org.newdawn.slick.Graphics</B>
</PRE>
<DL>
<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../org/newdawn/slick/opengl/pbuffer/FBOGraphics.html" title="class in org.newdawn.slick.opengl.pbuffer">FBOGraphics</A>, <A HREF="../../../org/newdawn/slick/opengl/pbuffer/PBufferGraphics.html" title="class in org.newdawn.slick.opengl.pbuffer">PBufferGraphics</A>, <A HREF="../../../org/newdawn/slick/opengl/pbuffer/PBufferUniqueGraphics.html" title="class in org.newdawn.slick.opengl.pbuffer">PBufferUniqueGraphics</A></DD>
</DL>
<HR>
<DL>
<DT><PRE>public class <B>Graphics</B><DT>extends java.lang.Object</DL>
</PRE>
<P>
A graphics context that can be used to render primatives to the accelerated
canvas provided by LWJGL.
<P>
<P>
<DL>
<DT><B>Author:</B></DT>
<DD>kevin</DD>
</DL>
<HR>
<P>
<!-- =========== FIELD SUMMARY =========== -->
<A NAME="field_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Field Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected static&nbsp;<A HREF="../../../org/newdawn/slick/Graphics.html" title="class in org.newdawn.slick">Graphics</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/newdawn/slick/Graphics.html#currentGraphics">currentGraphics</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The last graphics context in use</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected static&nbsp;<A HREF="../../../org/newdawn/slick/Font.html" title="interface in org.newdawn.slick">Font</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/newdawn/slick/Graphics.html#DEFAULT_FONT">DEFAULT_FONT</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The default font to use</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected static&nbsp;<A HREF="../../../org/newdawn/slick/opengl/renderer/SGL.html" title="interface in org.newdawn.slick.opengl.renderer">SGL</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/newdawn/slick/Graphics.html#GL">GL</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The renderer to use for all GL operations</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/newdawn/slick/Graphics.html#MODE_ADD">MODE_ADD</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draw adding the existing colour to the new colour</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/newdawn/slick/Graphics.html#MODE_ALPHA_BLEND">MODE_ALPHA_BLEND</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draw using the alpha blending</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/newdawn/slick/Graphics.html#MODE_ALPHA_MAP">MODE_ALPHA_MAP</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draw to the alpha map</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/newdawn/slick/Graphics.html#MODE_COLOR_MULTIPLY">MODE_COLOR_MULTIPLY</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draw multiplying the source and destination colours</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/newdawn/slick/Graphics.html#MODE_NORMAL">MODE_NORMAL</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The normal drawing mode</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/newdawn/slick/Graphics.html#MODE_SCREEN">MODE_SCREEN</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draw blending the new image into the old one by a factor of it's colour</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/newdawn/slick/Graphics.html#screenHeight">screenHeight</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The height of the screen</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/newdawn/slick/Graphics.html#screenWidth">screenWidth</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The width of the screen</TD>
</TR>
</TABLE>
&nbsp;
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../org/newdawn/slick/Graphics.html#Graphics()">Graphics</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default constructor for sub-classes</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../org/newdawn/slick/Graphics.html#Graphics(int, int)">Graphics</A></B>(int&nbsp;width,
int&nbsp;height)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create a new graphics context.</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/newdawn/slick/Graphics.html#clear()">clear</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Clear the graphics context</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/newdawn/slick/Graphics.html#clearAlphaMap()">clearAlphaMap</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Clear the state of the alpha map across the entire screen.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/newdawn/slick/Graphics.html#clearClip()">clearClip</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Clear the clipping being applied.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/newdawn/slick/Graphics.html#clearWorldClip()">clearWorldClip</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Clear world clipping setup.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/newdawn/slick/Graphics.html#copyArea(org.newdawn.slick.Image, int, int)">copyArea</A></B>(<A HREF="../../../org/newdawn/slick/Image.html" title="class in org.newdawn.slick">Image</A>&nbsp;target,
int&nbsp;x,
int&nbsp;y)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Copy an area of the rendered screen into an image.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/newdawn/slick/Graphics.html#destroy()">destroy</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Dispose this graphics context, this will release any underlying resourses.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/newdawn/slick/Graphics.html#disable()">disable</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Disable rendering to this graphics context</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/newdawn/slick/Graphics.html#draw(org.newdawn.slick.geom.Shape)">draw</A></B>(<A HREF="../../../org/newdawn/slick/geom/Shape.html" title="class in org.newdawn.slick.geom">Shape</A>&nbsp;shape)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draw the outline of the given shape.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/newdawn/slick/Graphics.html#draw(org.newdawn.slick.geom.Shape, org.newdawn.slick.ShapeFill)">draw</A></B>(<A HREF="../../../org/newdawn/slick/geom/Shape.html" title="class in org.newdawn.slick.geom">Shape</A>&nbsp;shape,
<A HREF="../../../org/newdawn/slick/ShapeFill.html" title="interface in org.newdawn.slick">ShapeFill</A>&nbsp;fill)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draw the outline of the given shape.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/newdawn/slick/Graphics.html#drawAnimation(org.newdawn.slick.Animation, float, float)">drawAnimation</A></B>(<A HREF="../../../org/newdawn/slick/Animation.html" title="class in org.newdawn.slick">Animation</A>&nbsp;anim,
float&nbsp;x,
float&nbsp;y)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draw an animation to this graphics context</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/newdawn/slick/Graphics.html#drawAnimation(org.newdawn.slick.Animation, float, float, org.newdawn.slick.Color)">drawAnimation</A></B>(<A HREF="../../../org/newdawn/slick/Animation.html" title="class in org.newdawn.slick">Animation</A>&nbsp;anim,
float&nbsp;x,
float&nbsp;y,
<A HREF="../../../org/newdawn/slick/Color.html" title="class in org.newdawn.slick">Color</A>&nbsp;col)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draw an animation to this graphics context</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/newdawn/slick/Graphics.html#drawArc(float, float, float, float, float, float)">drawArc</A></B>(float&nbsp;x1,
float&nbsp;y1,
float&nbsp;width,
float&nbsp;height,
float&nbsp;start,
float&nbsp;end)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draw an oval to the canvas</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/newdawn/slick/Graphics.html#drawArc(float, float, float, float, int, float, float)">drawArc</A></B>(float&nbsp;x1,
float&nbsp;y1,
float&nbsp;width,
float&nbsp;height,
int&nbsp;segments,
float&nbsp;start,
float&nbsp;end)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draw an oval to the canvas</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/newdawn/slick/Graphics.html#drawGradientLine(float, float, org.newdawn.slick.Color, float, float, org.newdawn.slick.Color)">drawGradientLine</A></B>(float&nbsp;x1,
float&nbsp;y1,
<A HREF="../../../org/newdawn/slick/Color.html" title="class in org.newdawn.slick">Color</A>&nbsp;Color1,
float&nbsp;x2,
float&nbsp;y2,
<A HREF="../../../org/newdawn/slick/Color.html" title="class in org.newdawn.slick">Color</A>&nbsp;Color2)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draw a line with a gradient between the two points.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/newdawn/slick/Graphics.html#drawGradientLine(float, float, float, float, float, float, float, float, float, float, float, float)">drawGradientLine</A></B>(float&nbsp;x1,
float&nbsp;y1,
float&nbsp;red1,
float&nbsp;green1,
float&nbsp;blue1,
float&nbsp;alpha1,
float&nbsp;x2,
float&nbsp;y2,
float&nbsp;red2,
float&nbsp;green2,
float&nbsp;blue2,
float&nbsp;alpha2)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draw a line with a gradient between the two points.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/newdawn/slick/Graphics.html#drawImage(org.newdawn.slick.Image, float, float)">drawImage</A></B>(<A HREF="../../../org/newdawn/slick/Image.html" title="class in org.newdawn.slick">Image</A>&nbsp;image,
float&nbsp;x,
float&nbsp;y)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draw an image to the screen</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/newdawn/slick/Graphics.html#drawImage(org.newdawn.slick.Image, float, float, org.newdawn.slick.Color)">drawImage</A></B>(<A HREF="../../../org/newdawn/slick/Image.html" title="class in org.newdawn.slick">Image</A>&nbsp;image,
float&nbsp;x,
float&nbsp;y,
<A HREF="../../../org/newdawn/slick/Color.html" title="class in org.newdawn.slick">Color</A>&nbsp;col)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draw an image to the screen</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/newdawn/slick/Graphics.html#drawImage(org.newdawn.slick.Image, float, float, float, float, float, float)">drawImage</A></B>(<A HREF="../../../org/newdawn/slick/Image.html" title="class in org.newdawn.slick">Image</A>&nbsp;image,
float&nbsp;x,
float&nbsp;y,
float&nbsp;srcx,
float&nbsp;srcy,
float&nbsp;srcx2,
float&nbsp;srcy2)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draw a section of an image at a particular location and scale on the
screen</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/newdawn/slick/Graphics.html#drawImage(org.newdawn.slick.Image, float, float, float, float, float, float, org.newdawn.slick.Color)">drawImage</A></B>(<A HREF="../../../org/newdawn/slick/Image.html" title="class in org.newdawn.slick">Image</A>&nbsp;image,
float&nbsp;x,
float&nbsp;y,
float&nbsp;srcx,
float&nbsp;srcy,
float&nbsp;srcx2,
float&nbsp;srcy2,
<A HREF="../../../org/newdawn/slick/Color.html" title="class in org.newdawn.slick">Color</A>&nbsp;col)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draw a section of an image at a particular location and scale on the
screen</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/newdawn/slick/Graphics.html#drawImage(org.newdawn.slick.Image, float, float, float, float, float, float, float, float)">drawImage</A></B>(<A HREF="../../../org/newdawn/slick/Image.html" title="class in org.newdawn.slick">Image</A>&nbsp;image,
float&nbsp;x,
float&nbsp;y,
float&nbsp;x2,
float&nbsp;y2,
float&nbsp;srcx,
float&nbsp;srcy,
float&nbsp;srcx2,
float&nbsp;srcy2)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draw a section of an image at a particular location and scale on the
screen</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/newdawn/slick/Graphics.html#drawImage(org.newdawn.slick.Image, float, float, float, float, float, float, float, float, org.newdawn.slick.Color)">drawImage</A></B>(<A HREF="../../../org/newdawn/slick/Image.html" title="class in org.newdawn.slick">Image</A>&nbsp;image,
float&nbsp;x,
float&nbsp;y,
float&nbsp;x2,
float&nbsp;y2,
float&nbsp;srcx,
float&nbsp;srcy,
float&nbsp;srcx2,
float&nbsp;srcy2,
<A HREF="../../../org/newdawn/slick/Color.html" title="class in org.newdawn.slick">Color</A>&nbsp;col)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draw a section of an image at a particular location and scale on the
screen</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/newdawn/slick/Graphics.html#drawLine(float, float, float, float)">drawLine</A></B>(float&nbsp;x1,
float&nbsp;y1,
float&nbsp;x2,
float&nbsp;y2)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draw a line on the canvas in the current colour</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/newdawn/slick/Graphics.html#drawOval(float, float, float, float)">drawOval</A></B>(float&nbsp;x1,
float&nbsp;y1,
float&nbsp;width,
float&nbsp;height)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draw an oval to the canvas</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/newdawn/slick/Graphics.html#drawOval(float, float, float, float, int)">drawOval</A></B>(float&nbsp;x1,
float&nbsp;y1,
float&nbsp;width,
float&nbsp;height,
int&nbsp;segments)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draw an oval to the canvas</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/newdawn/slick/Graphics.html#drawRect(float, float, float, float)">drawRect</A></B>(float&nbsp;x1,
float&nbsp;y1,
float&nbsp;width,
float&nbsp;height)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draw a rectangle to the canvas in the current colour</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/newdawn/slick/Graphics.html#drawRoundRect(float, float, float, float, int)">drawRoundRect</A></B>(float&nbsp;x,
float&nbsp;y,
float&nbsp;width,
float&nbsp;height,
int&nbsp;cornerRadius)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draw a rounded rectangle</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/newdawn/slick/Graphics.html#drawRoundRect(float, float, float, float, int, int)">drawRoundRect</A></B>(float&nbsp;x,
float&nbsp;y,
float&nbsp;width,
float&nbsp;height,
int&nbsp;cornerRadius,
int&nbsp;segs)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draw a rounded rectangle</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/newdawn/slick/Graphics.html#drawString(java.lang.String, float, float)">drawString</A></B>(java.lang.String&nbsp;str,
float&nbsp;x,
float&nbsp;y)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draw a string to the screen using the current font</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/newdawn/slick/Graphics.html#enable()">enable</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Enable rendering to this graphics context</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/newdawn/slick/Graphics.html#fill(org.newdawn.slick.geom.Shape)">fill</A></B>(<A HREF="../../../org/newdawn/slick/geom/Shape.html" title="class in org.newdawn.slick.geom">Shape</A>&nbsp;shape)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draw the the given shape filled in.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/newdawn/slick/Graphics.html#fill(org.newdawn.slick.geom.Shape, org.newdawn.slick.ShapeFill)">fill</A></B>(<A HREF="../../../org/newdawn/slick/geom/Shape.html" title="class in org.newdawn.slick.geom">Shape</A>&nbsp;shape,
<A HREF="../../../org/newdawn/slick/ShapeFill.html" title="interface in org.newdawn.slick">ShapeFill</A>&nbsp;fill)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draw the the given shape filled in.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/newdawn/slick/Graphics.html#fillArc(float, float, float, float, float, float)">fillArc</A></B>(float&nbsp;x1,
float&nbsp;y1,
float&nbsp;width,
float&nbsp;height,
float&nbsp;start,
float&nbsp;end)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Fill an arc to the canvas (a wedge)</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/newdawn/slick/Graphics.html#fillArc(float, float, float, float, int, float, float)">fillArc</A></B>(float&nbsp;x1,
float&nbsp;y1,
float&nbsp;width,
float&nbsp;height,
int&nbsp;segments,
float&nbsp;start,
float&nbsp;end)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Fill an arc to the canvas (a wedge)</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/newdawn/slick/Graphics.html#fillOval(float, float, float, float)">fillOval</A></B>(float&nbsp;x1,
float&nbsp;y1,
float&nbsp;width,
float&nbsp;height)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Fill an oval to the canvas</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/newdawn/slick/Graphics.html#fillOval(float, float, float, float, int)">fillOval</A></B>(float&nbsp;x1,
float&nbsp;y1,
float&nbsp;width,
float&nbsp;height,
int&nbsp;segments)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Fill an oval to the canvas</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/newdawn/slick/Graphics.html#fillRect(float, float, float, float)">fillRect</A></B>(float&nbsp;x1,
float&nbsp;y1,
float&nbsp;width,
float&nbsp;height)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Fill a rectangle on the canvas in the current color</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/newdawn/slick/Graphics.html#fillRect(float, float, float, float, org.newdawn.slick.Image, float, float)">fillRect</A></B>(float&nbsp;x,
float&nbsp;y,
float&nbsp;width,
float&nbsp;height,
<A HREF="../../../org/newdawn/slick/Image.html" title="class in org.newdawn.slick">Image</A>&nbsp;pattern,
float&nbsp;offX,
float&nbsp;offY)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Tile a rectangle with a pattern specifing the offset from the top corner
that one tile should match</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/newdawn/slick/Graphics.html#fillRoundRect(float, float, float, float, int)">fillRoundRect</A></B>(float&nbsp;x,
float&nbsp;y,
float&nbsp;width,
float&nbsp;height,
int&nbsp;cornerRadius)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Fill a rounded rectangle</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/newdawn/slick/Graphics.html#fillRoundRect(float, float, float, float, int, int)">fillRoundRect</A></B>(float&nbsp;x,
float&nbsp;y,
float&nbsp;width,
float&nbsp;height,
int&nbsp;cornerRadius,
int&nbsp;segs)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Fill a rounded rectangle</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/newdawn/slick/Graphics.html#flush()">flush</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Flush this graphics context to the underlying rendering context</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/newdawn/slick/Graphics.html#getArea(int, int, int, int, java.nio.ByteBuffer)">getArea</A></B>(int&nbsp;x,
int&nbsp;y,
int&nbsp;width,
int&nbsp;height,
java.nio.ByteBuffer&nbsp;target)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get an ara of pixels as RGBA values into a buffer</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../org/newdawn/slick/Color.html" title="class in org.newdawn.slick">Color</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/newdawn/slick/Graphics.html#getBackground()">getBackground</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the current graphics context background color</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../org/newdawn/slick/geom/Rectangle.html" title="class in org.newdawn.slick.geom">Rectangle</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/newdawn/slick/Graphics.html#getClip()">getClip</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the currently applied clipping rectangle</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../org/newdawn/slick/Color.html" title="class in org.newdawn.slick">Color</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/newdawn/slick/Graphics.html#getColor()">getColor</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the color in use by this graphics context</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../org/newdawn/slick/Font.html" title="interface in org.newdawn.slick">Font</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/newdawn/slick/Graphics.html#getFont()">getFont</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the current font</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;float</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/newdawn/slick/Graphics.html#getLineWidth()">getLineWidth</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the width of lines being drawn in this context</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../org/newdawn/slick/Color.html" title="class in org.newdawn.slick">Color</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/newdawn/slick/Graphics.html#getPixel(int, int)">getPixel</A></B>(int&nbsp;x,
int&nbsp;y)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the colour of a single pixel in this graphics context</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../org/newdawn/slick/geom/Rectangle.html" title="class in org.newdawn.slick.geom">Rectangle</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/newdawn/slick/Graphics.html#getWorldClip()">getWorldClip</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the last set world clip or null of the world clip isn't set</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/newdawn/slick/Graphics.html#isAntiAlias()">isAntiAlias</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if antialiasing has been turned on for this graphics context</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/newdawn/slick/Graphics.html#popTransform()">popTransform</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Pop a previously pushed transform from the stack to the current.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/newdawn/slick/Graphics.html#pushTransform()">pushTransform</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Push the current state of the transform from this graphics contexts
onto the underlying graphics stack's transform stack.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/newdawn/slick/Graphics.html#resetFont()">resetFont</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reset to using the default font for this context</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/newdawn/slick/Graphics.html#resetLineWidth()">resetLineWidth</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reset the line width in use to the default for this graphics context</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/newdawn/slick/Graphics.html#resetTransform()">resetTransform</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reset the transformation on this graphics context</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/newdawn/slick/Graphics.html#rotate(float, float, float)">rotate</A></B>(float&nbsp;rx,
float&nbsp;ry,
float&nbsp;ang)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Apply a rotation to everything draw on the graphics context</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/newdawn/slick/Graphics.html#scale(float, float)">scale</A></B>(float&nbsp;sx,
float&nbsp;sy)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Apply a scaling factor to everything drawn on the graphics context</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/newdawn/slick/Graphics.html#setAntiAlias(boolean)">setAntiAlias</A></B>(boolean&nbsp;anti)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Indicate if we should antialias as we draw primitives</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/newdawn/slick/Graphics.html#setBackground(org.newdawn.slick.Color)">setBackground</A></B>(<A HREF="../../../org/newdawn/slick/Color.html" title="class in org.newdawn.slick">Color</A>&nbsp;color)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the background colour of the graphics context.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/newdawn/slick/Graphics.html#setClip(int, int, int, int)">setClip</A></B>(int&nbsp;x,
int&nbsp;y,
int&nbsp;width,
int&nbsp;height)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the clipping to apply to the drawing.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/newdawn/slick/Graphics.html#setClip(org.newdawn.slick.geom.Rectangle)">setClip</A></B>(<A HREF="../../../org/newdawn/slick/geom/Rectangle.html" title="class in org.newdawn.slick.geom">Rectangle</A>&nbsp;rect)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the clipping to apply to the drawing.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/newdawn/slick/Graphics.html#setColor(org.newdawn.slick.Color)">setColor</A></B>(<A HREF="../../../org/newdawn/slick/Color.html" title="class in org.newdawn.slick">Color</A>&nbsp;color)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the color to use when rendering to this context</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/newdawn/slick/Graphics.html#setCurrent(org.newdawn.slick.Graphics)">setCurrent</A></B>(<A HREF="../../../org/newdawn/slick/Graphics.html" title="class in org.newdawn.slick">Graphics</A>&nbsp;current)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the current graphics context in use</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/newdawn/slick/Graphics.html#setDrawMode(int)">setDrawMode</A></B>(int&nbsp;mode)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the drawing mode to use.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/newdawn/slick/Graphics.html#setFont(org.newdawn.slick.Font)">setFont</A></B>(<A HREF="../../../org/newdawn/slick/Font.html" title="interface in org.newdawn.slick">Font</A>&nbsp;font)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the font to be used when rendering text</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/newdawn/slick/Graphics.html#setLineWidth(float)">setLineWidth</A></B>(float&nbsp;width)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the with of the line to be used when drawing line based primitives</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/newdawn/slick/Graphics.html#setWorldClip(float, float, float, float)">setWorldClip</A></B>(float&nbsp;x,
float&nbsp;y,
float&nbsp;width,
float&nbsp;height)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set clipping that controls which areas of the world will be drawn to.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/newdawn/slick/Graphics.html#setWorldClip(org.newdawn.slick.geom.Rectangle)">setWorldClip</A></B>(<A HREF="../../../org/newdawn/slick/geom/Rectangle.html" title="class in org.newdawn.slick.geom">Rectangle</A>&nbsp;clip)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the world clip to be applied</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/newdawn/slick/Graphics.html#texture(org.newdawn.slick.geom.Shape, org.newdawn.slick.Image)">texture</A></B>(<A HREF="../../../org/newdawn/slick/geom/Shape.html" title="class in org.newdawn.slick.geom">Shape</A>&nbsp;shape,
<A HREF="../../../org/newdawn/slick/Image.html" title="class in org.newdawn.slick">Image</A>&nbsp;image)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draw the the given shape filled in with a texture</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/newdawn/slick/Graphics.html#texture(org.newdawn.slick.geom.Shape, org.newdawn.slick.Image, boolean)">texture</A></B>(<A HREF="../../../org/newdawn/slick/geom/Shape.html" title="class in org.newdawn.slick.geom">Shape</A>&nbsp;shape,
<A HREF="../../../org/newdawn/slick/Image.html" title="class in org.newdawn.slick">Image</A>&nbsp;image,
boolean&nbsp;fit)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draw the the given shape filled in with a texture</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/newdawn/slick/Graphics.html#texture(org.newdawn.slick.geom.Shape, org.newdawn.slick.Image, float, float)">texture</A></B>(<A HREF="../../../org/newdawn/slick/geom/Shape.html" title="class in org.newdawn.slick.geom">Shape</A>&nbsp;shape,
<A HREF="../../../org/newdawn/slick/Image.html" title="class in org.newdawn.slick">Image</A>&nbsp;image,
float&nbsp;scaleX,
float&nbsp;scaleY)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draw the the given shape filled in with a texture</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/newdawn/slick/Graphics.html#texture(org.newdawn.slick.geom.Shape, org.newdawn.slick.Image, float, float, boolean)">texture</A></B>(<A HREF="../../../org/newdawn/slick/geom/Shape.html" title="class in org.newdawn.slick.geom">Shape</A>&nbsp;shape,
<A HREF="../../../org/newdawn/slick/Image.html" title="class in org.newdawn.slick">Image</A>&nbsp;image,
float&nbsp;scaleX,
float&nbsp;scaleY,
boolean&nbsp;fit)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draw the the given shape filled in with a texture</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/newdawn/slick/Graphics.html#texture(org.newdawn.slick.geom.Shape, org.newdawn.slick.Image, float, float, org.newdawn.slick.ShapeFill)">texture</A></B>(<A HREF="../../../org/newdawn/slick/geom/Shape.html" title="class in org.newdawn.slick.geom">Shape</A>&nbsp;shape,
<A HREF="../../../org/newdawn/slick/Image.html" title="class in org.newdawn.slick">Image</A>&nbsp;image,
float&nbsp;scaleX,
float&nbsp;scaleY,
<A HREF="../../../org/newdawn/slick/ShapeFill.html" title="interface in org.newdawn.slick">ShapeFill</A>&nbsp;fill)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draw the the given shape filled in with a texture</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/newdawn/slick/Graphics.html#texture(org.newdawn.slick.geom.Shape, org.newdawn.slick.Image, org.newdawn.slick.ShapeFill)">texture</A></B>(<A HREF="../../../org/newdawn/slick/geom/Shape.html" title="class in org.newdawn.slick.geom">Shape</A>&nbsp;shape,
<A HREF="../../../org/newdawn/slick/Image.html" title="class in org.newdawn.slick">Image</A>&nbsp;image,
<A HREF="../../../org/newdawn/slick/ShapeFill.html" title="interface in org.newdawn.slick">ShapeFill</A>&nbsp;fill)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draw the the given shape filled in with a texture</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/newdawn/slick/Graphics.html#translate(float, float)">translate</A></B>(float&nbsp;x,
float&nbsp;y)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Apply a translation to everything drawn to the context</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>
<!-- ============ FIELD DETAIL =========== -->
<A NAME="field_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Field Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="GL"><!-- --></A><H3>
GL</H3>
<PRE>
protected static <A HREF="../../../org/newdawn/slick/opengl/renderer/SGL.html" title="interface in org.newdawn.slick.opengl.renderer">SGL</A> <B>GL</B></PRE>
<DL>
<DD>The renderer to use for all GL operations
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="MODE_NORMAL"><!-- --></A><H3>
MODE_NORMAL</H3>
<PRE>
public static int <B>MODE_NORMAL</B></PRE>
<DL>
<DD>The normal drawing mode
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="MODE_ALPHA_MAP"><!-- --></A><H3>
MODE_ALPHA_MAP</H3>
<PRE>
public static int <B>MODE_ALPHA_MAP</B></PRE>
<DL>
<DD>Draw to the alpha map
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="MODE_ALPHA_BLEND"><!-- --></A><H3>
MODE_ALPHA_BLEND</H3>
<PRE>
public static int <B>MODE_ALPHA_BLEND</B></PRE>
<DL>
<DD>Draw using the alpha blending
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="MODE_COLOR_MULTIPLY"><!-- --></A><H3>
MODE_COLOR_MULTIPLY</H3>
<PRE>
public static int <B>MODE_COLOR_MULTIPLY</B></PRE>
<DL>
<DD>Draw multiplying the source and destination colours
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="MODE_ADD"><!-- --></A><H3>
MODE_ADD</H3>
<PRE>
public static int <B>MODE_ADD</B></PRE>
<DL>
<DD>Draw adding the existing colour to the new colour
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="MODE_SCREEN"><!-- --></A><H3>
MODE_SCREEN</H3>
<PRE>
public static int <B>MODE_SCREEN</B></PRE>
<DL>
<DD>Draw blending the new image into the old one by a factor of it's colour
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="currentGraphics"><!-- --></A><H3>
currentGraphics</H3>
<PRE>
protected static <A HREF="../../../org/newdawn/slick/Graphics.html" title="class in org.newdawn.slick">Graphics</A> <B>currentGraphics</B></PRE>
<DL>
<DD>The last graphics context in use
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="DEFAULT_FONT"><!-- --></A><H3>
DEFAULT_FONT</H3>
<PRE>
protected static <A HREF="../../../org/newdawn/slick/Font.html" title="interface in org.newdawn.slick">Font</A> <B>DEFAULT_FONT</B></PRE>
<DL>
<DD>The default font to use
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="screenWidth"><!-- --></A><H3>
screenWidth</H3>
<PRE>
protected int <B>screenWidth</B></PRE>
<DL>
<DD>The width of the screen
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="screenHeight"><!-- --></A><H3>
screenHeight</H3>
<PRE>
protected int <B>screenHeight</B></PRE>
<DL>
<DD>The height of the screen
<P>
<DL>
</DL>
</DL>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="Graphics()"><!-- --></A><H3>
Graphics</H3>
<PRE>
public <B>Graphics</B>()</PRE>
<DL>
<DD>Default constructor for sub-classes
<P>
</DL>
<HR>
<A NAME="Graphics(int, int)"><!-- --></A><H3>
Graphics</H3>
<PRE>
public <B>Graphics</B>(int&nbsp;width,
int&nbsp;height)</PRE>
<DL>
<DD>Create a new graphics context. Only the container should be doing this
really
<P>
<DL>
<DT><B>Parameters:</B><DD><CODE>width</CODE> - The width of the screen for this context<DD><CODE>height</CODE> - The height of the screen for this context</DL>
</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="setCurrent(org.newdawn.slick.Graphics)"><!-- --></A><H3>
setCurrent</H3>
<PRE>
public static void <B>setCurrent</B>(<A HREF="../../../org/newdawn/slick/Graphics.html" title="class in org.newdawn.slick">Graphics</A>&nbsp;current)</PRE>
<DL>
<DD>Set the current graphics context in use
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>current</CODE> - The graphics context that should be considered current</DL>
</DD>
</DL>
<HR>
<A NAME="setDrawMode(int)"><!-- --></A><H3>
setDrawMode</H3>
<PRE>
public void <B>setDrawMode</B>(int&nbsp;mode)</PRE>
<DL>
<DD>Set the drawing mode to use. This mode defines how pixels are drawn to
the graphics context. It can be used to draw into the alpha map.
The mode supplied should be one of <A HREF="../../../org/newdawn/slick/Graphics.html#MODE_NORMAL"><CODE>MODE_NORMAL</CODE></A> or
<A HREF="../../../org/newdawn/slick/Graphics.html#MODE_ALPHA_MAP"><CODE>MODE_ALPHA_MAP</CODE></A> or <A HREF="../../../org/newdawn/slick/Graphics.html#MODE_ALPHA_BLEND"><CODE>MODE_ALPHA_BLEND</CODE></A>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>mode</CODE> - The mode to apply.</DL>
</DD>
</DL>
<HR>
<A NAME="clearAlphaMap()"><!-- --></A><H3>
clearAlphaMap</H3>
<PRE>
public void <B>clearAlphaMap</B>()</PRE>
<DL>
<DD>Clear the state of the alpha map across the entire screen. This sets
alpha to 0 everywhere, meaning in <A HREF="../../../org/newdawn/slick/Graphics.html#MODE_ALPHA_BLEND"><CODE>MODE_ALPHA_BLEND</CODE></A>
nothing will be drawn.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="enable()"><!-- --></A><H3>
enable</H3>
<PRE>
protected void <B>enable</B>()</PRE>
<DL>
<DD>Enable rendering to this graphics context
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="flush()"><!-- --></A><H3>
flush</H3>
<PRE>
public void <B>flush</B>()</PRE>
<DL>
<DD>Flush this graphics context to the underlying rendering context
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="disable()"><!-- --></A><H3>
disable</H3>
<PRE>
protected void <B>disable</B>()</PRE>
<DL>
<DD>Disable rendering to this graphics context
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getFont()"><!-- --></A><H3>
getFont</H3>
<PRE>
public <A HREF="../../../org/newdawn/slick/Font.html" title="interface in org.newdawn.slick">Font</A> <B>getFont</B>()</PRE>
<DL>
<DD>Get the current font
<P>
<DD><DL>
<DT><B>Returns:</B><DD>The current font</DL>
</DD>
</DL>
<HR>
<A NAME="setBackground(org.newdawn.slick.Color)"><!-- --></A><H3>
setBackground</H3>
<PRE>
public void <B>setBackground</B>(<A HREF="../../../org/newdawn/slick/Color.html" title="class in org.newdawn.slick">Color</A>&nbsp;color)</PRE>
<DL>
<DD>Set the background colour of the graphics context. This colour
is used when clearing the context. Note that calling this method
alone does not cause the context to be cleared.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>color</CODE> - The background color of the graphics context</DL>
</DD>
</DL>
<HR>
<A NAME="getBackground()"><!-- --></A><H3>
getBackground</H3>
<PRE>
public <A HREF="../../../org/newdawn/slick/Color.html" title="class in org.newdawn.slick">Color</A> <B>getBackground</B>()</PRE>
<DL>
<DD>Get the current graphics context background color
<P>
<DD><DL>
<DT><B>Returns:</B><DD>The background color of this graphics context</DL>
</DD>
</DL>
<HR>
<A NAME="clear()"><!-- --></A><H3>
clear</H3>
<PRE>
public void <B>clear</B>()</PRE>
<DL>
<DD>Clear the graphics context
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="resetTransform()"><!-- --></A><H3>
resetTransform</H3>
<PRE>
public void <B>resetTransform</B>()</PRE>
<DL>
<DD>Reset the transformation on this graphics context
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="scale(float, float)"><!-- --></A><H3>
scale</H3>
<PRE>
public void <B>scale</B>(float&nbsp;sx,
float&nbsp;sy)</PRE>
<DL>
<DD>Apply a scaling factor to everything drawn on the graphics context
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>sx</CODE> - The scaling factor to apply to the x axis<DD><CODE>sy</CODE> - The scaling factor to apply to the y axis</DL>
</DD>
</DL>
<HR>
<A NAME="rotate(float, float, float)"><!-- --></A><H3>
rotate</H3>
<PRE>
public void <B>rotate</B>(float&nbsp;rx,
float&nbsp;ry,
float&nbsp;ang)</PRE>
<DL>
<DD>Apply a rotation to everything draw on the graphics context
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>rx</CODE> - The x coordinate of the center of rotation<DD><CODE>ry</CODE> - The y coordinate of the center of rotation<DD><CODE>ang</CODE> - The angle (in degrees) to rotate by</DL>
</DD>
</DL>
<HR>
<A NAME="translate(float, float)"><!-- --></A><H3>
translate</H3>
<PRE>
public void <B>translate</B>(float&nbsp;x,
float&nbsp;y)</PRE>
<DL>
<DD>Apply a translation to everything drawn to the context
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>x</CODE> - The amount to translate on the x-axis<DD><CODE>y</CODE> - The amount of translate on the y-axis</DL>
</DD>
</DL>
<HR>
<A NAME="setFont(org.newdawn.slick.Font)"><!-- --></A><H3>
setFont</H3>
<PRE>
public void <B>setFont</B>(<A HREF="../../../org/newdawn/slick/Font.html" title="interface in org.newdawn.slick">Font</A>&nbsp;font)</PRE>
<DL>
<DD>Set the font to be used when rendering text
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>font</CODE> - The font to be used when rendering text</DL>
</DD>
</DL>
<HR>
<A NAME="resetFont()"><!-- --></A><H3>
resetFont</H3>
<PRE>
public void <B>resetFont</B>()</PRE>
<DL>
<DD>Reset to using the default font for this context
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="setColor(org.newdawn.slick.Color)"><!-- --></A><H3>
setColor</H3>
<PRE>
public void <B>setColor</B>(<A HREF="../../../org/newdawn/slick/Color.html" title="class in org.newdawn.slick">Color</A>&nbsp;color)</PRE>
<DL>
<DD>Set the color to use when rendering to this context
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>color</CODE> - The color to use when rendering to this context</DL>
</DD>
</DL>
<HR>
<A NAME="getColor()"><!-- --></A><H3>
getColor</H3>
<PRE>
public <A HREF="../../../org/newdawn/slick/Color.html" title="class in org.newdawn.slick">Color</A> <B>getColor</B>()</PRE>
<DL>
<DD>Get the color in use by this graphics context
<P>
<DD><DL>
<DT><B>Returns:</B><DD>The color in use by this graphics context</DL>
</DD>
</DL>
<HR>
<A NAME="drawLine(float, float, float, float)"><!-- --></A><H3>
drawLine</H3>
<PRE>
public void <B>drawLine</B>(float&nbsp;x1,
float&nbsp;y1,
float&nbsp;x2,
float&nbsp;y2)</PRE>
<DL>
<DD>Draw a line on the canvas in the current colour
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>x1</CODE> - The x coordinate of the start point<DD><CODE>y1</CODE> - The y coordinate of the start point<DD><CODE>x2</CODE> - The x coordinate of the end point<DD><CODE>y2</CODE> - The y coordinate of the end point</DL>
</DD>
</DL>
<HR>
<A NAME="draw(org.newdawn.slick.geom.Shape, org.newdawn.slick.ShapeFill)"><!-- --></A><H3>
draw</H3>
<PRE>
public void <B>draw</B>(<A HREF="../../../org/newdawn/slick/geom/Shape.html" title="class in org.newdawn.slick.geom">Shape</A>&nbsp;shape,
<A HREF="../../../org/newdawn/slick/ShapeFill.html" title="interface in org.newdawn.slick">ShapeFill</A>&nbsp;fill)</PRE>
<DL>
<DD>Draw the outline of the given shape.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>shape</CODE> - The shape to draw.<DD><CODE>fill</CODE> - The fill type to apply</DL>
</DD>
</DL>
<HR>
<A NAME="fill(org.newdawn.slick.geom.Shape, org.newdawn.slick.ShapeFill)"><!-- --></A><H3>
fill</H3>
<PRE>
public void <B>fill</B>(<A HREF="../../../org/newdawn/slick/geom/Shape.html" title="class in org.newdawn.slick.geom">Shape</A>&nbsp;shape,
<A HREF="../../../org/newdawn/slick/ShapeFill.html" title="interface in org.newdawn.slick">ShapeFill</A>&nbsp;fill)</PRE>
<DL>
<DD>Draw the the given shape filled in.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>shape</CODE> - The shape to fill.<DD><CODE>fill</CODE> - The fill type to apply</DL>
</DD>
</DL>
<HR>
<A NAME="draw(org.newdawn.slick.geom.Shape)"><!-- --></A><H3>
draw</H3>
<PRE>
public void <B>draw</B>(<A HREF="../../../org/newdawn/slick/geom/Shape.html" title="class in org.newdawn.slick.geom">Shape</A>&nbsp;shape)</PRE>
<DL>
<DD>Draw the outline of the given shape.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>shape</CODE> - The shape to draw.</DL>
</DD>
</DL>
<HR>
<A NAME="fill(org.newdawn.slick.geom.Shape)"><!-- --></A><H3>
fill</H3>
<PRE>
public void <B>fill</B>(<A HREF="../../../org/newdawn/slick/geom/Shape.html" title="class in org.newdawn.slick.geom">Shape</A>&nbsp;shape)</PRE>
<DL>
<DD>Draw the the given shape filled in.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>shape</CODE> - The shape to fill.</DL>
</DD>
</DL>
<HR>
<A NAME="texture(org.newdawn.slick.geom.Shape, org.newdawn.slick.Image)"><!-- --></A><H3>
texture</H3>
<PRE>
public void <B>texture</B>(<A HREF="../../../org/newdawn/slick/geom/Shape.html" title="class in org.newdawn.slick.geom">Shape</A>&nbsp;shape,
<A HREF="../../../org/newdawn/slick/Image.html" title="class in org.newdawn.slick">Image</A>&nbsp;image)</PRE>
<DL>
<DD>Draw the the given shape filled in with a texture
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>shape</CODE> - The shape to texture.<DD><CODE>image</CODE> - The image to tile across the shape</DL>
</DD>
</DL>
<HR>
<A NAME="texture(org.newdawn.slick.geom.Shape, org.newdawn.slick.Image, org.newdawn.slick.ShapeFill)"><!-- --></A><H3>
texture</H3>
<PRE>
public void <B>texture</B>(<A HREF="../../../org/newdawn/slick/geom/Shape.html" title="class in org.newdawn.slick.geom">Shape</A>&nbsp;shape,
<A HREF="../../../org/newdawn/slick/Image.html" title="class in org.newdawn.slick">Image</A>&nbsp;image,
<A HREF="../../../org/newdawn/slick/ShapeFill.html" title="interface in org.newdawn.slick">ShapeFill</A>&nbsp;fill)</PRE>
<DL>
<DD>Draw the the given shape filled in with a texture
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>shape</CODE> - The shape to texture.<DD><CODE>image</CODE> - The image to tile across the shape<DD><CODE>fill</CODE> - The shape fill to apply</DL>
</DD>
</DL>
<HR>
<A NAME="texture(org.newdawn.slick.geom.Shape, org.newdawn.slick.Image, boolean)"><!-- --></A><H3>
texture</H3>
<PRE>
public void <B>texture</B>(<A HREF="../../../org/newdawn/slick/geom/Shape.html" title="class in org.newdawn.slick.geom">Shape</A>&nbsp;shape,
<A HREF="../../../org/newdawn/slick/Image.html" title="class in org.newdawn.slick">Image</A>&nbsp;image,
boolean&nbsp;fit)</PRE>
<DL>
<DD>Draw the the given shape filled in with a texture
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>shape</CODE> - The shape to texture.<DD><CODE>image</CODE> - The image to tile across the shape<DD><CODE>fit</CODE> - True if we want to fit the image on to the shape</DL>
</DD>
</DL>
<HR>
<A NAME="texture(org.newdawn.slick.geom.Shape, org.newdawn.slick.Image, float, float)"><!-- --></A><H3>
texture</H3>
<PRE>
public void <B>texture</B>(<A HREF="../../../org/newdawn/slick/geom/Shape.html" title="class in org.newdawn.slick.geom">Shape</A>&nbsp;shape,
<A HREF="../../../org/newdawn/slick/Image.html" title="class in org.newdawn.slick">Image</A>&nbsp;image,
float&nbsp;scaleX,
float&nbsp;scaleY)</PRE>
<DL>
<DD>Draw the the given shape filled in with a texture
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>shape</CODE> - The shape to texture.<DD><CODE>image</CODE> - The image to tile across the shape<DD><CODE>scaleX</CODE> - The scale to apply on the x axis for texturing<DD><CODE>scaleY</CODE> - The scale to apply on the y axis for texturing</DL>
</DD>
</DL>
<HR>
<A NAME="texture(org.newdawn.slick.geom.Shape, org.newdawn.slick.Image, float, float, boolean)"><!-- --></A><H3>
texture</H3>
<PRE>
public void <B>texture</B>(<A HREF="../../../org/newdawn/slick/geom/Shape.html" title="class in org.newdawn.slick.geom">Shape</A>&nbsp;shape,
<A HREF="../../../org/newdawn/slick/Image.html" title="class in org.newdawn.slick">Image</A>&nbsp;image,
float&nbsp;scaleX,
float&nbsp;scaleY,
boolean&nbsp;fit)</PRE>
<DL>
<DD>Draw the the given shape filled in with a texture
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>shape</CODE> - The shape to texture.<DD><CODE>image</CODE> - The image to tile across the shape<DD><CODE>scaleX</CODE> - The scale to apply on the x axis for texturing<DD><CODE>scaleY</CODE> - The scale to apply on the y axis for texturing<DD><CODE>fit</CODE> - True if we want to fit the image on to the shape</DL>
</DD>
</DL>
<HR>
<A NAME="texture(org.newdawn.slick.geom.Shape, org.newdawn.slick.Image, float, float, org.newdawn.slick.ShapeFill)"><!-- --></A><H3>
texture</H3>
<PRE>
public void <B>texture</B>(<A HREF="../../../org/newdawn/slick/geom/Shape.html" title="class in org.newdawn.slick.geom">Shape</A>&nbsp;shape,
<A HREF="../../../org/newdawn/slick/Image.html" title="class in org.newdawn.slick">Image</A>&nbsp;image,
float&nbsp;scaleX,
float&nbsp;scaleY,
<A HREF="../../../org/newdawn/slick/ShapeFill.html" title="interface in org.newdawn.slick">ShapeFill</A>&nbsp;fill)</PRE>
<DL>
<DD>Draw the the given shape filled in with a texture
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>shape</CODE> - The shape to texture.<DD><CODE>image</CODE> - The image to tile across the shape<DD><CODE>scaleX</CODE> - The scale to apply on the x axis for texturing<DD><CODE>scaleY</CODE> - The scale to apply on the y axis for texturing<DD><CODE>fill</CODE> - The shape fill to apply</DL>
</DD>
</DL>
<HR>
<A NAME="drawRect(float, float, float, float)"><!-- --></A><H3>
drawRect</H3>
<PRE>
public void <B>drawRect</B>(float&nbsp;x1,
float&nbsp;y1,
float&nbsp;width,
float&nbsp;height)</PRE>
<DL>
<DD>Draw a rectangle to the canvas in the current colour
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>x1</CODE> - The x coordinate of the top left corner<DD><CODE>y1</CODE> - The y coordinate of the top left corner<DD><CODE>width</CODE> - The width of the rectangle to draw<DD><CODE>height</CODE> - The height of the rectangle to draw</DL>
</DD>
</DL>
<HR>
<A NAME="clearClip()"><!-- --></A><H3>
clearClip</H3>
<PRE>
public void <B>clearClip</B>()</PRE>
<DL>
<DD>Clear the clipping being applied. This will allow graphics to be drawn
anywhere on the screen
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="setWorldClip(float, float, float, float)"><!-- --></A><H3>
setWorldClip</H3>
<PRE>
public void <B>setWorldClip</B>(float&nbsp;x,
float&nbsp;y,
float&nbsp;width,
float&nbsp;height)</PRE>
<DL>
<DD>Set clipping that controls which areas of the world will be drawn to.
Note that world clip is different from standard screen clip in that it's
defined in the space of the current world coordinate - i.e. it's affected
by translate, rotate, scale etc.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>x</CODE> - The x coordinate of the top left corner of the allowed area<DD><CODE>y</CODE> - The y coordinate of the top left corner of the allowed area<DD><CODE>width</CODE> - The width of the allowed area<DD><CODE>height</CODE> - The height of the allowed area</DL>
</DD>
</DL>
<HR>
<A NAME="clearWorldClip()"><!-- --></A><H3>
clearWorldClip</H3>
<PRE>
public void <B>clearWorldClip</B>()</PRE>
<DL>
<DD>Clear world clipping setup. This does not effect screen clipping
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="setWorldClip(org.newdawn.slick.geom.Rectangle)"><!-- --></A><H3>
setWorldClip</H3>
<PRE>
public void <B>setWorldClip</B>(<A HREF="../../../org/newdawn/slick/geom/Rectangle.html" title="class in org.newdawn.slick.geom">Rectangle</A>&nbsp;clip)</PRE>
<DL>
<DD>Set the world clip to be applied
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>clip</CODE> - The area still visible<DT><B>See Also:</B><DD><A HREF="../../../org/newdawn/slick/Graphics.html#setWorldClip(float, float, float, float)"><CODE>setWorldClip(float, float, float, float)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="getWorldClip()"><!-- --></A><H3>
getWorldClip</H3>
<PRE>
public <A HREF="../../../org/newdawn/slick/geom/Rectangle.html" title="class in org.newdawn.slick.geom">Rectangle</A> <B>getWorldClip</B>()</PRE>
<DL>
<DD>Get the last set world clip or null of the world clip isn't set
<P>
<DD><DL>
<DT><B>Returns:</B><DD>The last set world clip rectangle</DL>
</DD>
</DL>
<HR>
<A NAME="setClip(int, int, int, int)"><!-- --></A><H3>
setClip</H3>
<PRE>
public void <B>setClip</B>(int&nbsp;x,
int&nbsp;y,
int&nbsp;width,
int&nbsp;height)</PRE>
<DL>
<DD>Set the clipping to apply to the drawing. Note that this clipping takes
no note of the transforms that have been applied to the context and is
always in absolute screen space coordinates.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>x</CODE> - The x coordinate of the top left corner of the allowed area<DD><CODE>y</CODE> - The y coordinate of the top left corner of the allowed area<DD><CODE>width</CODE> - The width of the allowed area<DD><CODE>height</CODE> - The height of the allowed area</DL>
</DD>
</DL>
<HR>
<A NAME="setClip(org.newdawn.slick.geom.Rectangle)"><!-- --></A><H3>
setClip</H3>
<PRE>
public void <B>setClip</B>(<A HREF="../../../org/newdawn/slick/geom/Rectangle.html" title="class in org.newdawn.slick.geom">Rectangle</A>&nbsp;rect)</PRE>
<DL>
<DD>Set the clipping to apply to the drawing. Note that this clipping takes
no note of the transforms that have been applied to the context and is
always in absolute screen space coordinates.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>rect</CODE> - The rectangle describing the clipped area in screen
coordinates</DL>
</DD>
</DL>
<HR>
<A NAME="getClip()"><!-- --></A><H3>
getClip</H3>
<PRE>
public <A HREF="../../../org/newdawn/slick/geom/Rectangle.html" title="class in org.newdawn.slick.geom">Rectangle</A> <B>getClip</B>()</PRE>
<DL>
<DD>Return the currently applied clipping rectangle
<P>
<DD><DL>
<DT><B>Returns:</B><DD>The current applied clipping rectangle or null if no clipping is
applied</DL>
</DD>
</DL>
<HR>
<A NAME="fillRect(float, float, float, float, org.newdawn.slick.Image, float, float)"><!-- --></A><H3>
fillRect</H3>
<PRE>
public void <B>fillRect</B>(float&nbsp;x,
float&nbsp;y,
float&nbsp;width,
float&nbsp;height,
<A HREF="../../../org/newdawn/slick/Image.html" title="class in org.newdawn.slick">Image</A>&nbsp;pattern,
float&nbsp;offX,
float&nbsp;offY)</PRE>
<DL>
<DD>Tile a rectangle with a pattern specifing the offset from the top corner
that one tile should match
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>x</CODE> - The x coordinate of the rectangle<DD><CODE>y</CODE> - The y coordinate of the rectangle<DD><CODE>width</CODE> - The width of the rectangle<DD><CODE>height</CODE> - The height of the rectangle<DD><CODE>pattern</CODE> - The image to tile across the rectangle<DD><CODE>offX</CODE> - The offset on the x axis from the top left corner<DD><CODE>offY</CODE> - The offset on the y axis from the top left corner</DL>
</DD>
</DL>
<HR>
<A NAME="fillRect(float, float, float, float)"><!-- --></A><H3>
fillRect</H3>
<PRE>
public void <B>fillRect</B>(float&nbsp;x1,
float&nbsp;y1,
float&nbsp;width,
float&nbsp;height)</PRE>
<DL>
<DD>Fill a rectangle on the canvas in the current color
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>x1</CODE> - The x coordinate of the top left corner<DD><CODE>y1</CODE> - The y coordinate of the top left corner<DD><CODE>width</CODE> - The width of the rectangle to fill<DD><CODE>height</CODE> - The height of the rectangle to fill</DL>
</DD>
</DL>
<HR>
<A NAME="drawOval(float, float, float, float)"><!-- --></A><H3>
drawOval</H3>
<PRE>
public void <B>drawOval</B>(float&nbsp;x1,
float&nbsp;y1,
float&nbsp;width,
float&nbsp;height)</PRE>
<DL>
<DD>Draw an oval to the canvas
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>x1</CODE> - The x coordinate of the top left corner of a box containing
the oval<DD><CODE>y1</CODE> - The y coordinate of the top left corner of a box containing
the oval<DD><CODE>width</CODE> - The width of the oval<DD><CODE>height</CODE> - The height of the oval</DL>
</DD>
</DL>
<HR>
<A NAME="drawOval(float, float, float, float, int)"><!-- --></A><H3>
drawOval</H3>
<PRE>
public void <B>drawOval</B>(float&nbsp;x1,
float&nbsp;y1,
float&nbsp;width,
float&nbsp;height,
int&nbsp;segments)</PRE>
<DL>
<DD>Draw an oval to the canvas
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>x1</CODE> - The x coordinate of the top left corner of a box containing
the oval<DD><CODE>y1</CODE> - The y coordinate of the top left corner of a box containing
the oval<DD><CODE>width</CODE> - The width of the oval<DD><CODE>height</CODE> - The height of the oval<DD><CODE>segments</CODE> - The number of line segments to use when drawing the oval</DL>
</DD>
</DL>
<HR>
<A NAME="drawArc(float, float, float, float, float, float)"><!-- --></A><H3>
drawArc</H3>
<PRE>
public void <B>drawArc</B>(float&nbsp;x1,
float&nbsp;y1,
float&nbsp;width,
float&nbsp;height,
float&nbsp;start,
float&nbsp;end)</PRE>
<DL>
<DD>Draw an oval to the canvas
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>x1</CODE> - The x coordinate of the top left corner of a box containing
the arc<DD><CODE>y1</CODE> - The y coordinate of the top left corner of a box containing
the arc<DD><CODE>width</CODE> - The width of the arc<DD><CODE>height</CODE> - The height of the arc<DD><CODE>start</CODE> - The angle the arc starts at<DD><CODE>end</CODE> - The angle the arc ends at</DL>
</DD>
</DL>
<HR>
<A NAME="drawArc(float, float, float, float, int, float, float)"><!-- --></A><H3>
drawArc</H3>
<PRE>
public void <B>drawArc</B>(float&nbsp;x1,
float&nbsp;y1,
float&nbsp;width,
float&nbsp;height,
int&nbsp;segments,
float&nbsp;start,
float&nbsp;end)</PRE>
<DL>
<DD>Draw an oval to the canvas
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>x1</CODE> - The x coordinate of the top left corner of a box containing
the arc<DD><CODE>y1</CODE> - The y coordinate of the top left corner of a box containing
the arc<DD><CODE>width</CODE> - The width of the arc<DD><CODE>height</CODE> - The height of the arc<DD><CODE>segments</CODE> - The number of line segments to use when drawing the arc<DD><CODE>start</CODE> - The angle the arc starts at<DD><CODE>end</CODE> - The angle the arc ends at</DL>
</DD>
</DL>
<HR>
<A NAME="fillOval(float, float, float, float)"><!-- --></A><H3>
fillOval</H3>
<PRE>
public void <B>fillOval</B>(float&nbsp;x1,
float&nbsp;y1,
float&nbsp;width,
float&nbsp;height)</PRE>
<DL>
<DD>Fill an oval to the canvas
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>x1</CODE> - The x coordinate of the top left corner of a box containing
the oval<DD><CODE>y1</CODE> - The y coordinate of the top left corner of a box containing
the oval<DD><CODE>width</CODE> - The width of the oval<DD><CODE>height</CODE> - The height of the oval</DL>
</DD>
</DL>
<HR>
<A NAME="fillOval(float, float, float, float, int)"><!-- --></A><H3>
fillOval</H3>
<PRE>
public void <B>fillOval</B>(float&nbsp;x1,
float&nbsp;y1,
float&nbsp;width,
float&nbsp;height,
int&nbsp;segments)</PRE>
<DL>
<DD>Fill an oval to the canvas
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>x1</CODE> - The x coordinate of the top left corner of a box containing
the oval<DD><CODE>y1</CODE> - The y coordinate of the top left corner of a box containing
the oval<DD><CODE>width</CODE> - The width of the oval<DD><CODE>height</CODE> - The height of the oval<DD><CODE>segments</CODE> - The number of line segments to use when filling the oval</DL>
</DD>
</DL>
<HR>
<A NAME="fillArc(float, float, float, float, float, float)"><!-- --></A><H3>
fillArc</H3>
<PRE>
public void <B>fillArc</B>(float&nbsp;x1,
float&nbsp;y1,
float&nbsp;width,
float&nbsp;height,
float&nbsp;start,
float&nbsp;end)</PRE>
<DL>
<DD>Fill an arc to the canvas (a wedge)
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>x1</CODE> - The x coordinate of the top left corner of a box containing
the arc<DD><CODE>y1</CODE> - The y coordinate of the top left corner of a box containing
the arc<DD><CODE>width</CODE> - The width of the arc<DD><CODE>height</CODE> - The height of the arc<DD><CODE>start</CODE> - The angle the arc starts at<DD><CODE>end</CODE> - The angle the arc ends at</DL>
</DD>
</DL>
<HR>
<A NAME="fillArc(float, float, float, float, int, float, float)"><!-- --></A><H3>
fillArc</H3>
<PRE>
public void <B>fillArc</B>(float&nbsp;x1,
float&nbsp;y1,
float&nbsp;width,
float&nbsp;height,
int&nbsp;segments,
float&nbsp;start,
float&nbsp;end)</PRE>
<DL>
<DD>Fill an arc to the canvas (a wedge)
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>x1</CODE> - The x coordinate of the top left corner of a box containing
the arc<DD><CODE>y1</CODE> - The y coordinate of the top left corner of a box containing
the arc<DD><CODE>width</CODE> - The width of the arc<DD><CODE>height</CODE> - The height of the arc<DD><CODE>segments</CODE> - The number of line segments to use when filling the arc<DD><CODE>start</CODE> - The angle the arc starts at<DD><CODE>end</CODE> - The angle the arc ends at</DL>
</DD>
</DL>
<HR>
<A NAME="drawRoundRect(float, float, float, float, int)"><!-- --></A><H3>
drawRoundRect</H3>
<PRE>
public void <B>drawRoundRect</B>(float&nbsp;x,
float&nbsp;y,
float&nbsp;width,
float&nbsp;height,
int&nbsp;cornerRadius)</PRE>
<DL>
<DD>Draw a rounded rectangle
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>x</CODE> - The x coordinate of the top left corner of the rectangle<DD><CODE>y</CODE> - The y coordinate of the top left corner of the rectangle<DD><CODE>width</CODE> - The width of the rectangle<DD><CODE>height</CODE> - The height of the rectangle<DD><CODE>cornerRadius</CODE> - The radius of the rounded edges on the corners</DL>
</DD>
</DL>
<HR>
<A NAME="drawRoundRect(float, float, float, float, int, int)"><!-- --></A><H3>
drawRoundRect</H3>
<PRE>
public void <B>drawRoundRect</B>(float&nbsp;x,
float&nbsp;y,
float&nbsp;width,
float&nbsp;height,
int&nbsp;cornerRadius,
int&nbsp;segs)</PRE>
<DL>
<DD>Draw a rounded rectangle
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>x</CODE> - The x coordinate of the top left corner of the rectangle<DD><CODE>y</CODE> - The y coordinate of the top left corner of the rectangle<DD><CODE>width</CODE> - The width of the rectangle<DD><CODE>height</CODE> - The height of the rectangle<DD><CODE>cornerRadius</CODE> - The radius of the rounded edges on the corners<DD><CODE>segs</CODE> - The number of segments to make the corners out of</DL>
</DD>
</DL>
<HR>
<A NAME="fillRoundRect(float, float, float, float, int)"><!-- --></A><H3>
fillRoundRect</H3>
<PRE>
public void <B>fillRoundRect</B>(float&nbsp;x,
float&nbsp;y,
float&nbsp;width,
float&nbsp;height,
int&nbsp;cornerRadius)</PRE>
<DL>
<DD>Fill a rounded rectangle
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>x</CODE> - The x coordinate of the top left corner of the rectangle<DD><CODE>y</CODE> - The y coordinate of the top left corner of the rectangle<DD><CODE>width</CODE> - The width of the rectangle<DD><CODE>height</CODE> - The height of the rectangle<DD><CODE>cornerRadius</CODE> - The radius of the rounded edges on the corners</DL>
</DD>
</DL>
<HR>
<A NAME="fillRoundRect(float, float, float, float, int, int)"><!-- --></A><H3>
fillRoundRect</H3>
<PRE>
public void <B>fillRoundRect</B>(float&nbsp;x,
float&nbsp;y,
float&nbsp;width,
float&nbsp;height,
int&nbsp;cornerRadius,
int&nbsp;segs)</PRE>
<DL>
<DD>Fill a rounded rectangle
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>x</CODE> - The x coordinate of the top left corner of the rectangle<DD><CODE>y</CODE> - The y coordinate of the top left corner of the rectangle<DD><CODE>width</CODE> - The width of the rectangle<DD><CODE>height</CODE> - The height of the rectangle<DD><CODE>cornerRadius</CODE> - The radius of the rounded edges on the corners<DD><CODE>segs</CODE> - The number of segments to make the corners out of</DL>
</DD>
</DL>
<HR>
<A NAME="setLineWidth(float)"><!-- --></A><H3>
setLineWidth</H3>
<PRE>
public void <B>setLineWidth</B>(float&nbsp;width)</PRE>
<DL>
<DD>Set the with of the line to be used when drawing line based primitives
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>width</CODE> - The width of the line to be used when drawing line based
primitives</DL>
</DD>
</DL>
<HR>
<A NAME="getLineWidth()"><!-- --></A><H3>
getLineWidth</H3>
<PRE>
public float <B>getLineWidth</B>()</PRE>
<DL>
<DD>Get the width of lines being drawn in this context
<P>
<DD><DL>
<DT><B>Returns:</B><DD>The width of lines being draw in this context</DL>
</DD>
</DL>
<HR>
<A NAME="resetLineWidth()"><!-- --></A><H3>
resetLineWidth</H3>
<PRE>
public void <B>resetLineWidth</B>()</PRE>
<DL>
<DD>Reset the line width in use to the default for this graphics context
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="setAntiAlias(boolean)"><!-- --></A><H3>
setAntiAlias</H3>
<PRE>
public void <B>setAntiAlias</B>(boolean&nbsp;anti)</PRE>
<DL>
<DD>Indicate if we should antialias as we draw primitives
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>anti</CODE> - True if we should antialias</DL>
</DD>
</DL>
<HR>
<A NAME="isAntiAlias()"><!-- --></A><H3>
isAntiAlias</H3>
<PRE>
public boolean <B>isAntiAlias</B>()</PRE>
<DL>
<DD>True if antialiasing has been turned on for this graphics context
<P>
<DD><DL>
<DT><B>Returns:</B><DD>True if antialiasing has been turned on for this graphics context</DL>
</DD>
</DL>
<HR>
<A NAME="drawString(java.lang.String, float, float)"><!-- --></A><H3>
drawString</H3>
<PRE>
public void <B>drawString</B>(java.lang.String&nbsp;str,
float&nbsp;x,
float&nbsp;y)</PRE>
<DL>
<DD>Draw a string to the screen using the current font
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>str</CODE> - The string to draw<DD><CODE>x</CODE> - The x coordinate to draw the string at<DD><CODE>y</CODE> - The y coordinate to draw the string at</DL>
</DD>
</DL>
<HR>
<A NAME="drawImage(org.newdawn.slick.Image, float, float, org.newdawn.slick.Color)"><!-- --></A><H3>
drawImage</H3>
<PRE>
public void <B>drawImage</B>(<A HREF="../../../org/newdawn/slick/Image.html" title="class in org.newdawn.slick">Image</A>&nbsp;image,
float&nbsp;x,
float&nbsp;y,
<A HREF="../../../org/newdawn/slick/Color.html" title="class in org.newdawn.slick">Color</A>&nbsp;col)</PRE>
<DL>
<DD>Draw an image to the screen
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>image</CODE> - The image to draw to the screen<DD><CODE>x</CODE> - The x location at which to draw the image<DD><CODE>y</CODE> - The y location at which to draw the image<DD><CODE>col</CODE> - The color to apply to the image as a filter</DL>
</DD>
</DL>
<HR>
<A NAME="drawAnimation(org.newdawn.slick.Animation, float, float)"><!-- --></A><H3>
drawAnimation</H3>
<PRE>
public void <B>drawAnimation</B>(<A HREF="../../../org/newdawn/slick/Animation.html" title="class in org.newdawn.slick">Animation</A>&nbsp;anim,
float&nbsp;x,
float&nbsp;y)</PRE>
<DL>
<DD>Draw an animation to this graphics context
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>anim</CODE> - The animation to be drawn<DD><CODE>x</CODE> - The x position to draw the animation at<DD><CODE>y</CODE> - The y position to draw the animation at</DL>
</DD>
</DL>
<HR>
<A NAME="drawAnimation(org.newdawn.slick.Animation, float, float, org.newdawn.slick.Color)"><!-- --></A><H3>
drawAnimation</H3>
<PRE>
public void <B>drawAnimation</B>(<A HREF="../../../org/newdawn/slick/Animation.html" title="class in org.newdawn.slick">Animation</A>&nbsp;anim,
float&nbsp;x,
float&nbsp;y,
<A HREF="../../../org/newdawn/slick/Color.html" title="class in org.newdawn.slick">Color</A>&nbsp;col)</PRE>
<DL>
<DD>Draw an animation to this graphics context
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>anim</CODE> - The animation to be drawn<DD><CODE>x</CODE> - The x position to draw the animation at<DD><CODE>y</CODE> - The y position to draw the animation at<DD><CODE>col</CODE> - The color to apply to the animation as a filter</DL>
</DD>
</DL>
<HR>
<A NAME="drawImage(org.newdawn.slick.Image, float, float)"><!-- --></A><H3>
drawImage</H3>
<PRE>
public void <B>drawImage</B>(<A HREF="../../../org/newdawn/slick/Image.html" title="class in org.newdawn.slick">Image</A>&nbsp;image,
float&nbsp;x,
float&nbsp;y)</PRE>
<DL>
<DD>Draw an image to the screen
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>image</CODE> - The image to draw to the screen<DD><CODE>x</CODE> - The x location at which to draw the image<DD><CODE>y</CODE> - The y location at which to draw the image</DL>
</DD>
</DL>
<HR>
<A NAME="drawImage(org.newdawn.slick.Image, float, float, float, float, float, float, float, float)"><!-- --></A><H3>
drawImage</H3>
<PRE>
public void <B>drawImage</B>(<A HREF="../../../org/newdawn/slick/Image.html" title="class in org.newdawn.slick">Image</A>&nbsp;image,
float&nbsp;x,
float&nbsp;y,
float&nbsp;x2,
float&nbsp;y2,
float&nbsp;srcx,
float&nbsp;srcy,
float&nbsp;srcx2,
float&nbsp;srcy2)</PRE>
<DL>
<DD>Draw a section of an image at a particular location and scale on the
screen
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>image</CODE> - The image to draw a section of<DD><CODE>x</CODE> - The x position to draw the image<DD><CODE>y</CODE> - The y position to draw the image<DD><CODE>x2</CODE> - The x position of the bottom right corner of the drawn image<DD><CODE>y2</CODE> - The y position of the bottom right corner of the drawn image<DD><CODE>srcx</CODE> - The x position of the rectangle to draw from this image (i.e.
relative to the image)<DD><CODE>srcy</CODE> - The y position of the rectangle to draw from this image (i.e.
relative to the image)<DD><CODE>srcx2</CODE> - The x position of the bottom right cornder of rectangle to
draw from this image (i.e. relative to the image)<DD><CODE>srcy2</CODE> - The t position of the bottom right cornder of rectangle to
draw from this image (i.e. relative to the image)</DL>
</DD>
</DL>
<HR>
<A NAME="drawImage(org.newdawn.slick.Image, float, float, float, float, float, float)"><!-- --></A><H3>
drawImage</H3>
<PRE>
public void <B>drawImage</B>(<A HREF="../../../org/newdawn/slick/Image.html" title="class in org.newdawn.slick">Image</A>&nbsp;image,
float&nbsp;x,
float&nbsp;y,
float&nbsp;srcx,
float&nbsp;srcy,
float&nbsp;srcx2,
float&nbsp;srcy2)</PRE>
<DL>
<DD>Draw a section of an image at a particular location and scale on the
screen
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>image</CODE> - The image to draw a section of<DD><CODE>x</CODE> - The x position to draw the image<DD><CODE>y</CODE> - The y position to draw the image<DD><CODE>srcx</CODE> - The x position of the rectangle to draw from this image (i.e.
relative to the image)<DD><CODE>srcy</CODE> - The y position of the rectangle to draw from this image (i.e.
relative to the image)<DD><CODE>srcx2</CODE> - The x position of the bottom right cornder of rectangle to
draw from this image (i.e. relative to the image)<DD><CODE>srcy2</CODE> - The t position of the bottom right cornder of rectangle to
draw from this image (i.e. relative to the image)</DL>
</DD>
</DL>
<HR>
<A NAME="copyArea(org.newdawn.slick.Image, int, int)"><!-- --></A><H3>
copyArea</H3>
<PRE>
public void <B>copyArea</B>(<A HREF="../../../org/newdawn/slick/Image.html" title="class in org.newdawn.slick">Image</A>&nbsp;target,
int&nbsp;x,
int&nbsp;y)</PRE>
<DL>
<DD>Copy an area of the rendered screen into an image. The width and height
of the area are assumed to match that of the image
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>target</CODE> - The target image<DD><CODE>x</CODE> - The x position to copy from<DD><CODE>y</CODE> - The y position to copy from</DL>
</DD>
</DL>
<HR>
<A NAME="getPixel(int, int)"><!-- --></A><H3>
getPixel</H3>
<PRE>
public <A HREF="../../../org/newdawn/slick/Color.html" title="class in org.newdawn.slick">Color</A> <B>getPixel</B>(int&nbsp;x,
int&nbsp;y)</PRE>
<DL>
<DD>Get the colour of a single pixel in this graphics context
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>x</CODE> - The x coordinate of the pixel to read<DD><CODE>y</CODE> - The y coordinate of the pixel to read
<DT><B>Returns:</B><DD>The colour of the pixel at the specified location</DL>
</DD>
</DL>
<HR>
<A NAME="getArea(int, int, int, int, java.nio.ByteBuffer)"><!-- --></A><H3>
getArea</H3>
<PRE>
public void <B>getArea</B>(int&nbsp;x,
int&nbsp;y,
int&nbsp;width,
int&nbsp;height,
java.nio.ByteBuffer&nbsp;target)</PRE>
<DL>
<DD>Get an ara of pixels as RGBA values into a buffer
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>x</CODE> - The x position in the context to grab from<DD><CODE>y</CODE> - The y position in the context to grab from<DD><CODE>width</CODE> - The width of the area to grab from<DD><CODE>height</CODE> - The hiehgt of the area to grab from<DD><CODE>target</CODE> - The target buffer to grab into</DL>
</DD>
</DL>
<HR>
<A NAME="drawImage(org.newdawn.slick.Image, float, float, float, float, float, float, float, float, org.newdawn.slick.Color)"><!-- --></A><H3>
drawImage</H3>
<PRE>
public void <B>drawImage</B>(<A HREF="../../../org/newdawn/slick/Image.html" title="class in org.newdawn.slick">Image</A>&nbsp;image,
float&nbsp;x,
float&nbsp;y,
float&nbsp;x2,
float&nbsp;y2,
float&nbsp;srcx,
float&nbsp;srcy,
float&nbsp;srcx2,
float&nbsp;srcy2,
<A HREF="../../../org/newdawn/slick/Color.html" title="class in org.newdawn.slick">Color</A>&nbsp;col)</PRE>
<DL>
<DD>Draw a section of an image at a particular location and scale on the
screen
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>image</CODE> - The image to draw a section of<DD><CODE>x</CODE> - The x position to draw the image<DD><CODE>y</CODE> - The y position to draw the image<DD><CODE>x2</CODE> - The x position of the bottom right corner of the drawn image<DD><CODE>y2</CODE> - The y position of the bottom right corner of the drawn image<DD><CODE>srcx</CODE> - The x position of the rectangle to draw from this image (i.e.
relative to the image)<DD><CODE>srcy</CODE> - The y position of the rectangle to draw from this image (i.e.
relative to the image)<DD><CODE>srcx2</CODE> - The x position of the bottom right cornder of rectangle to
draw from this image (i.e. relative to the image)<DD><CODE>srcy2</CODE> - The t position of the bottom right cornder of rectangle to
draw from this image (i.e. relative to the image)<DD><CODE>col</CODE> - The color to apply to the image as a filter</DL>
</DD>
</DL>
<HR>
<A NAME="drawImage(org.newdawn.slick.Image, float, float, float, float, float, float, org.newdawn.slick.Color)"><!-- --></A><H3>
drawImage</H3>
<PRE>
public void <B>drawImage</B>(<A HREF="../../../org/newdawn/slick/Image.html" title="class in org.newdawn.slick">Image</A>&nbsp;image,
float&nbsp;x,
float&nbsp;y,
float&nbsp;srcx,
float&nbsp;srcy,
float&nbsp;srcx2,
float&nbsp;srcy2,
<A HREF="../../../org/newdawn/slick/Color.html" title="class in org.newdawn.slick">Color</A>&nbsp;col)</PRE>
<DL>
<DD>Draw a section of an image at a particular location and scale on the
screen
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>image</CODE> - The image to draw a section of<DD><CODE>x</CODE> - The x position to draw the image<DD><CODE>y</CODE> - The y position to draw the image<DD><CODE>srcx</CODE> - The x position of the rectangle to draw from this image (i.e.
relative to the image)<DD><CODE>srcy</CODE> - The y position of the rectangle to draw from this image (i.e.
relative to the image)<DD><CODE>srcx2</CODE> - The x position of the bottom right cornder of rectangle to
draw from this image (i.e. relative to the image)<DD><CODE>srcy2</CODE> - The t position of the bottom right cornder of rectangle to
draw from this image (i.e. relative to the image)<DD><CODE>col</CODE> - The color to apply to the image as a filter</DL>
</DD>
</DL>
<HR>
<A NAME="drawGradientLine(float, float, float, float, float, float, float, float, float, float, float, float)"><!-- --></A><H3>
drawGradientLine</H3>
<PRE>
public void <B>drawGradientLine</B>(float&nbsp;x1,
float&nbsp;y1,
float&nbsp;red1,
float&nbsp;green1,
float&nbsp;blue1,
float&nbsp;alpha1,
float&nbsp;x2,
float&nbsp;y2,
float&nbsp;red2,
float&nbsp;green2,
float&nbsp;blue2,
float&nbsp;alpha2)</PRE>
<DL>
<DD>Draw a line with a gradient between the two points.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>x1</CODE> - The starting x position to draw the line<DD><CODE>y1</CODE> - The starting y position to draw the line<DD><CODE>red1</CODE> - The starting position's shade of red<DD><CODE>green1</CODE> - The starting position's shade of green<DD><CODE>blue1</CODE> - The starting position's shade of blue<DD><CODE>alpha1</CODE> - The starting position's alpha value<DD><CODE>x2</CODE> - The ending x position to draw the line<DD><CODE>y2</CODE> - The ending y position to draw the line<DD><CODE>red2</CODE> - The ending position's shade of red<DD><CODE>green2</CODE> - The ending position's shade of green<DD><CODE>blue2</CODE> - The ending position's shade of blue<DD><CODE>alpha2</CODE> - The ending position's alpha value</DL>
</DD>
</DL>
<HR>
<A NAME="drawGradientLine(float, float, org.newdawn.slick.Color, float, float, org.newdawn.slick.Color)"><!-- --></A><H3>
drawGradientLine</H3>
<PRE>
public void <B>drawGradientLine</B>(float&nbsp;x1,
float&nbsp;y1,
<A HREF="../../../org/newdawn/slick/Color.html" title="class in org.newdawn.slick">Color</A>&nbsp;Color1,
float&nbsp;x2,
float&nbsp;y2,
<A HREF="../../../org/newdawn/slick/Color.html" title="class in org.newdawn.slick">Color</A>&nbsp;Color2)</PRE>
<DL>
<DD>Draw a line with a gradient between the two points.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>x1</CODE> - The starting x position to draw the line<DD><CODE>y1</CODE> - The starting y position to draw the line<DD><CODE>Color1</CODE> - The starting position's color<DD><CODE>x2</CODE> - The ending x position to draw the line<DD><CODE>y2</CODE> - The ending y position to draw the line<DD><CODE>Color2</CODE> - The ending position's color</DL>
</DD>
</DL>
<HR>
<A NAME="pushTransform()"><!-- --></A><H3>
pushTransform</H3>
<PRE>
public void <B>pushTransform</B>()</PRE>
<DL>
<DD>Push the current state of the transform from this graphics contexts
onto the underlying graphics stack's transform stack. An associated
popTransform() must be performed to restore the state before the end
of the rendering loop.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="popTransform()"><!-- --></A><H3>
popTransform</H3>
<PRE>
public void <B>popTransform</B>()</PRE>
<DL>
<DD>Pop a previously pushed transform from the stack to the current. This should
only be called if a transform has been previously pushed.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="destroy()"><!-- --></A><H3>
destroy</H3>
<PRE>
public void <B>destroy</B>()</PRE>
<DL>
<DD>Dispose this graphics context, this will release any underlying resourses. However
this will also invalidate it's use
<P>
<DD><DL>
</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Graphics.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../org/newdawn/slick/GameContainer.html" title="class in org.newdawn.slick"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../org/newdawn/slick/Image.html" title="class in org.newdawn.slick"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../index.html?org/newdawn/slick/Graphics.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="Graphics.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
<i>Copyright &#169; 2006 New Dawn Software. All Rights Reserved.</i>
</BODY>
</HTML>