<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <TITLE> PApplet </TITLE> <META NAME="keywords" CONTENT="processing.core.PApplet class"> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Style"> <SCRIPT type="text/javascript"> function windowTitle() { parent.document.title="PApplet"; } </SCRIPT> <NOSCRIPT> </NOSCRIPT> </HEAD> <BODY BGCOLOR="white" onload="windowTitle();"> <!-- ========= 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> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> PREV CLASS <A HREF="../../processing/core/PApplet.RegisteredMethods.html" title="class in processing.core"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../index.html?processing/core/PApplet.html" target="_top"><B>FRAMES</B></A> <A HREF="PApplet.html" target="_top"><B>NO FRAMES</B></A> <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: <A HREF="#nested_class_summary">NESTED</A> | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <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"> processing.core</FONT> <BR> Class PApplet</H2> <PRE> java.lang.Object <IMG SRC="../../resources/inherit.gif" ALT="extended by ">java.awt.Component <IMG SRC="../../resources/inherit.gif" ALT="extended by ">java.awt.Container <IMG SRC="../../resources/inherit.gif" ALT="extended by ">java.awt.Panel <IMG SRC="../../resources/inherit.gif" ALT="extended by ">java.applet.Applet <IMG SRC="../../resources/inherit.gif" ALT="extended by "><B>processing.core.PApplet</B> </PRE> <DL> <DT><B>All Implemented Interfaces:</B> <DD>java.awt.event.FocusListener, java.awt.event.KeyListener, java.awt.event.MouseListener, java.awt.event.MouseMotionListener, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, java.lang.Runnable, java.util.EventListener, javax.accessibility.Accessible, <A HREF="../../processing/core/PConstants.html" title="interface in processing.core">PConstants</A></DD> </DL> <DL> <DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../processing/app/tools/ColorSelector.ColorRange.html" title="class in processing.app.tools">ColorSelector.ColorRange</A>, <A HREF="../../processing/app/tools/ColorSelector.ColorSlider.html" title="class in processing.app.tools">ColorSelector.ColorSlider</A></DD> </DL> <HR> <DL> <DT><PRE>public class <B>PApplet</B><DT>extends java.applet.Applet<DT>implements <A HREF="../../processing/core/PConstants.html" title="interface in processing.core">PConstants</A>, java.lang.Runnable, java.awt.event.MouseListener, java.awt.event.MouseMotionListener, java.awt.event.KeyListener, java.awt.event.FocusListener</DL> </PRE> <P> Base class for all sketches that use processing.core. <p/> Note that you should not use AWT or Swing components inside a Processing applet. The surface is made to automatically update itself, and will cause problems with redraw of components drawn above it. If you'd like to integrate other Java components, see below. <p/> As of release 0145, Processing uses active mode rendering in all cases. All animation tasks happen on the "Processing Animation Thread". The setup() and draw() methods are handled by that thread, and events (like mouse movement and key presses, which are fired by the event dispatch thread or EDT) are queued to be (safely) handled at the end of draw(). For code that needs to run on the EDT, use SwingUtilities.invokeLater(). When doing so, be careful to synchronize between that code (since invokeLater() will make your code run from the EDT) and the Processing animation thread. Use of a callback function or the registerXxx() methods in PApplet can help ensure that your code doesn't do something naughty. <p/> As of release 0136 of Processing, we have discontinued support for versions of Java prior to 1.5. We don't have enough people to support it, and for a project of our size, we should be focusing on the future, rather than working around legacy Java code. In addition, Java 1.5 gives us access to better timing facilities which will improve the steadiness of animation. <p/> This class extends Applet instead of JApplet because 1) historically, we supported Java 1.1, which does not include Swing (without an additional, sizable, download), and 2) Swing is a bloated piece of crap. A Processing applet is a heavyweight AWT component, and can be used the same as any other AWT component, with or without Swing. <p/> Similarly, Processing runs in a Frame and not a JFrame. However, there's nothing to prevent you from embedding a PApplet into a JFrame, it's just that the base version uses a regular AWT frame because there's simply no need for swing in that context. If people want to use Swing, they can embed themselves as they wish. <p/> It is possible to use PApplet, along with core.jar in other projects. In addition to enabling you to use Java 1.5+ features with your sketch, this also allows you to embed a Processing drawing area into another Java application. This means you can use standard GUI controls with a Processing sketch. Because AWT and Swing GUI components cannot be used on top of a PApplet, you can instead embed the PApplet inside another GUI the way you would any other Component. <p/> It is also possible to resize the Processing window by including <tt>frame.setResizable(true)</tt> inside your <tt>setup()</tt> method. Note that the Java method <tt>frame.setSize()</tt> will not work unless you first set the frame to be resizable. <p/> Because the default animation thread will run at 60 frames per second, an embedded PApplet can make the parent sluggish. You can use frameRate() to make it update less often, or you can use noLoop() and loop() to disable and then re-enable looping. If you want to only update the sketch intermittently, use noLoop() inside setup(), and redraw() whenever the screen needs to be updated once (or loop() to re-enable the animation thread). The following example embeds a sketch and also uses the noLoop() and redraw() methods. You need not use noLoop() and redraw() when embedding if you want your application to animate continuously. <PRE> public class ExampleFrame extends Frame { public ExampleFrame() { super("Embedded PApplet"); setLayout(new BorderLayout()); PApplet embed = new Embedded(); add(embed, BorderLayout.CENTER); // important to call this whenever embedding a PApplet. // It ensures that the animation thread is started and // that other internal variables are properly set. embed.init(); } } public class Embedded extends PApplet { public void setup() { // original setup code here ... size(400, 400); // prevent thread from starving everything else noLoop(); } public void draw() { // drawing code goes here } public void mousePressed() { // do something based on mouse movement // update the screen (run draw once) redraw(); } } </PRE> <H2>Processing on multiple displays</H2> <P>I was asked about Processing with multiple displays, and for lack of a better place to document it, things will go here.</P> <P>You can address both screens by making a window the width of both, and the height of the maximum of both screens. In this case, do not use present mode, because that's exclusive to one screen. Basically it'll give you a PApplet that spans both screens. If using one half to control and the other half for graphics, you'd just have to put the 'live' stuff on one half of the canvas, the control stuff on the other. This works better in windows because on the mac we can't get rid of the menu bar unless it's running in present mode.</P> <P>For more control, you need to write straight java code that uses p5. You can create two windows, that are shown on two separate screens, that have their own PApplet. this is just one of the tradeoffs of one of the things that we don't support in p5 from within the environment itself (we must draw the line somewhere), because of how messy it would get to start talking about multiple screens. It's also not that tough to do by hand w/ some Java code.</P> <P> <P> <DL> <DT><B>See Also:</B><DD><A HREF="../../serialized-form.html#processing.core.PApplet">Serialized Form</A></DL> <HR> <P> <!-- ======== NESTED CLASS SUMMARY ======== --> <A NAME="nested_class_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>Nested Class Summary</B></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> class</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.RegisteredMethods.html" title="class in processing.core">PApplet.RegisteredMethods</A></B></CODE> <BR> This returns the last width and height specified by the user via the size() command.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static class</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.RendererChangeException.html" title="class in processing.core">PApplet.RendererChangeException</A></B></CODE> <BR> Exception thrown when size() is called the first time.</TD> </TR> </TABLE> <!-- =========== 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> java.lang.String[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#args">args</A></B></CODE> <BR> Command line options passed in from main().</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#ARGS_BGCOLOR">ARGS_BGCOLOR</A></B></CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#ARGS_DISPLAY">ARGS_DISPLAY</A></B></CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#ARGS_EDITOR_LOCATION">ARGS_EDITOR_LOCATION</A></B></CODE> <BR> Position of the upper-lefthand corner of the editor window that launched this applet.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#ARGS_EXCLUSIVE">ARGS_EXCLUSIVE</A></B></CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#ARGS_EXTERNAL">ARGS_EXTERNAL</A></B></CODE> <BR> Location for where to position the applet window on screen.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#ARGS_HIDE_STOP">ARGS_HIDE_STOP</A></B></CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#ARGS_LOCATION">ARGS_LOCATION</A></B></CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#ARGS_PRESENT">ARGS_PRESENT</A></B></CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#ARGS_SKETCH_FOLDER">ARGS_SKETCH_FOLDER</A></B></CODE> <BR> Allows the user or PdeEditor to set a specific sketch folder path.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#ARGS_STOP_COLOR">ARGS_STOP_COLOR</A></B></CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#DEFAULT_HEIGHT">DEFAULT_HEIGHT</A></B></CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#DEFAULT_WIDTH">DEFAULT_WIDTH</A></B></CODE> <BR> Default width and height for applet when not specified</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#defaultSize">defaultSize</A></B></CODE> <BR> true if no size() command has been executed.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#EXTERNAL_MOVE">EXTERNAL_MOVE</A></B></CODE> <BR> When run externally to a PDE Editor, this is sent by the applet whenever the window is moved.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#EXTERNAL_STOP">EXTERNAL_STOP</A></B></CODE> <BR> When run externally to a PdeEditor, this is sent by the applet when it quits.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#finished">finished</A></B></CODE> <BR> true if this applet has had it.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#firstMouse">firstMouse</A></B></CODE> <BR> Used to set pmouseX/Y to mouseX/Y the first time mouseX/Y are used, otherwise pmouseX/Y are always zero, causing a nasty jump.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#focused">focused</A></B></CODE> <BR> Gets set to true/false as the applet gains/loses focus.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.awt.Frame</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#frame">frame</A></B></CODE> <BR> The frame containing this applet (if any)</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#frameCount">frameCount</A></B></CODE> <BR> How many frames have been displayed since the applet started.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> float</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#frameRate">frameRate</A></B></CODE> <BR> The current value of frames per second.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../processing/core/PGraphics.html" title="class in processing.core">PGraphics</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#g">g</A></B></CODE> <BR> The PGraphics renderer associated with this PApplet</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#height">height</A></B></CODE> <BR> height of this applet's associated PGraphics</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static byte[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#ICON_IMAGE">ICON_IMAGE</A></B></CODE> <BR> GIF image of the Processing logo.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static float</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#javaVersion">javaVersion</A></B></CODE> <BR> Version of Java that's in use, whether 1.1 or 1.3 or whatever, stored as a float.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#javaVersionName">javaVersionName</A></B></CODE> <BR> Full name of the Java version (i.e.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> char</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#key">key</A></B></CODE> <BR> Last key pressed.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#keyCode">keyCode</A></B></CODE> <BR> When "key" is set to CODED, this will contain a Java key code.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.awt.event.KeyEvent</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#keyEvent">keyEvent</A></B></CODE> <BR> the last KeyEvent object passed into a mouse function.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#keyPressed">keyPressed</A></B></CODE> <BR> true if the mouse is currently pressed.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#MENU_SHORTCUT">MENU_SHORTCUT</A></B></CODE> <BR> Modifier flags for the shortcut key used to trigger menus.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#MIN_WINDOW_HEIGHT">MIN_WINDOW_HEIGHT</A></B></CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#MIN_WINDOW_WIDTH">MIN_WINDOW_WIDTH</A></B></CODE> <BR> Minimum dimensions for the window holding an applet.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#mouseButton">mouseButton</A></B></CODE> <BR> Last mouse button pressed, one of LEFT, CENTER, or RIGHT.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.awt.event.MouseEvent</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#mouseEvent">mouseEvent</A></B></CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#mousePressed">mousePressed</A></B></CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#mouseX">mouseX</A></B></CODE> <BR> current x position of the mouse</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#mouseY">mouseY</A></B></CODE> <BR> current y position of the mouse</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#online">online</A></B></CODE> <BR> true if the applet is online.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#pixels">pixels</A></B></CODE> <BR> Pixel buffer from this applet's PGraphics.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#platform">platform</A></B></CODE> <BR> Current platform in use, one of the PConstants WINDOWS, MACOSX, MACOS9, LINUX or OTHER.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#pmouseX">pmouseX</A></B></CODE> <BR> Previous x/y position of the mouse.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#pmouseY">pmouseY</A></B></CODE> <BR> Previous x/y position of the mouse.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../processing/core/PGraphics.html" title="class in processing.core">PGraphics</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#recorder">recorder</A></B></CODE> <BR> A leech graphics object that is echoing all events.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#requestImageMax">requestImageMax</A></B></CODE> <BR> By trial and error, four image loading threads seem to work best when loading images from online.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.awt.Dimension</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#screen">screen</A></B></CODE> <BR> The screen size when the applet was started.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.io.File</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#selectedFile">selectedFile</A></B></CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#sketchPath">sketchPath</A></B></CODE> <BR> Path to sketch folder</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#width">width</A></B></CODE> <BR> width of this applet's associated PGraphics</TD> </TR> </TABLE> <A NAME="fields_inherited_from_class_java.awt.Component"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Fields inherited from class java.awt.Component</B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE>BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT</CODE></TD> </TR> </TABLE> <A NAME="fields_inherited_from_class_processing.core.PConstants"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Fields inherited from interface processing.core.<A HREF="../../processing/core/PConstants.html" title="interface in processing.core">PConstants</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../processing/core/PConstants.html#A">A</A>, <A HREF="../../processing/core/PConstants.html#AB">AB</A>, <A HREF="../../processing/core/PConstants.html#ADD">ADD</A>, <A HREF="../../processing/core/PConstants.html#AG">AG</A>, <A HREF="../../processing/core/PConstants.html#ALPHA">ALPHA</A>, <A HREF="../../processing/core/PConstants.html#ALPHA_MASK">ALPHA_MASK</A>, <A HREF="../../processing/core/PConstants.html#ALT">ALT</A>, <A HREF="../../processing/core/PConstants.html#AMBIENT">AMBIENT</A>, <A HREF="../../processing/core/PConstants.html#AR">AR</A>, <A HREF="../../processing/core/PConstants.html#ARC">ARC</A>, <A HREF="../../processing/core/PConstants.html#ARGB">ARGB</A>, <A HREF="../../processing/core/PConstants.html#ARROW">ARROW</A>, <A HREF="../../processing/core/PConstants.html#B">B</A>, <A HREF="../../processing/core/PConstants.html#BACKSPACE">BACKSPACE</A>, <A HREF="../../processing/core/PConstants.html#BASELINE">BASELINE</A>, <A HREF="../../processing/core/PConstants.html#BEEN_LIT">BEEN_LIT</A>, <A HREF="../../processing/core/PConstants.html#BEVEL">BEVEL</A>, <A HREF="../../processing/core/PConstants.html#BLEND">BLEND</A>, <A HREF="../../processing/core/PConstants.html#BLUE_MASK">BLUE_MASK</A>, <A HREF="../../processing/core/PConstants.html#BLUR">BLUR</A>, <A HREF="../../processing/core/PConstants.html#BOTTOM">BOTTOM</A>, <A HREF="../../processing/core/PConstants.html#BOX">BOX</A>, <A HREF="../../processing/core/PConstants.html#BURN">BURN</A>, <A HREF="../../processing/core/PConstants.html#CENTER">CENTER</A>, <A HREF="../../processing/core/PConstants.html#CENTER_DIAMETER">CENTER_DIAMETER</A>, <A HREF="../../processing/core/PConstants.html#CENTER_RADIUS">CENTER_RADIUS</A>, <A HREF="../../processing/core/PConstants.html#CHATTER">CHATTER</A>, <A HREF="../../processing/core/PConstants.html#CLOSE">CLOSE</A>, <A HREF="../../processing/core/PConstants.html#CMYK">CMYK</A>, <A HREF="../../processing/core/PConstants.html#CODED">CODED</A>, <A HREF="../../processing/core/PConstants.html#COMPLAINT">COMPLAINT</A>, <A HREF="../../processing/core/PConstants.html#CONTROL">CONTROL</A>, <A HREF="../../processing/core/PConstants.html#CORNER">CORNER</A>, <A HREF="../../processing/core/PConstants.html#CORNERS">CORNERS</A>, <A HREF="../../processing/core/PConstants.html#CROSS">CROSS</A>, <A HREF="../../processing/core/PConstants.html#CUSTOM">CUSTOM</A>, <A HREF="../../processing/core/PConstants.html#DA">DA</A>, <A HREF="../../processing/core/PConstants.html#DARKEST">DARKEST</A>, <A HREF="../../processing/core/PConstants.html#DB">DB</A>, <A HREF="../../processing/core/PConstants.html#DEG_TO_RAD">DEG_TO_RAD</A>, <A HREF="../../processing/core/PConstants.html#DELETE">DELETE</A>, <A HREF="../../processing/core/PConstants.html#DG">DG</A>, <A HREF="../../processing/core/PConstants.html#DIAMETER">DIAMETER</A>, <A HREF="../../processing/core/PConstants.html#DIFFERENCE">DIFFERENCE</A>, <A HREF="../../processing/core/PConstants.html#DILATE">DILATE</A>, <A HREF="../../processing/core/PConstants.html#DIRECTIONAL">DIRECTIONAL</A>, <A HREF="../../processing/core/PConstants.html#DISABLE_ACCURATE_TEXTURES">DISABLE_ACCURATE_TEXTURES</A>, <A HREF="../../processing/core/PConstants.html#DISABLE_DEPTH_SORT">DISABLE_DEPTH_SORT</A>, <A HREF="../../processing/core/PConstants.html#DISABLE_DEPTH_TEST">DISABLE_DEPTH_TEST</A>, <A HREF="../../processing/core/PConstants.html#DISABLE_OPENGL_2X_SMOOTH">DISABLE_OPENGL_2X_SMOOTH</A>, <A HREF="../../processing/core/PConstants.html#DISABLE_OPENGL_ERROR_REPORT">DISABLE_OPENGL_ERROR_REPORT</A>, <A HREF="../../processing/core/PConstants.html#DODGE">DODGE</A>, <A HREF="../../processing/core/PConstants.html#DOWN">DOWN</A>, <A HREF="../../processing/core/PConstants.html#DR">DR</A>, <A HREF="../../processing/core/PConstants.html#DXF">DXF</A>, <A HREF="../../processing/core/PConstants.html#EB">EB</A>, <A HREF="../../processing/core/PConstants.html#EDGE">EDGE</A>, <A HREF="../../processing/core/PConstants.html#EG">EG</A>, <A HREF="../../processing/core/PConstants.html#ELLIPSE">ELLIPSE</A>, <A HREF="../../processing/core/PConstants.html#ENABLE_ACCURATE_TEXTURES">ENABLE_ACCURATE_TEXTURES</A>, <A HREF="../../processing/core/PConstants.html#ENABLE_DEPTH_SORT">ENABLE_DEPTH_SORT</A>, <A HREF="../../processing/core/PConstants.html#ENABLE_DEPTH_TEST">ENABLE_DEPTH_TEST</A>, <A HREF="../../processing/core/PConstants.html#ENABLE_NATIVE_FONTS">ENABLE_NATIVE_FONTS</A>, <A HREF="../../processing/core/PConstants.html#ENABLE_OPENGL_2X_SMOOTH">ENABLE_OPENGL_2X_SMOOTH</A>, <A HREF="../../processing/core/PConstants.html#ENABLE_OPENGL_4X_SMOOTH">ENABLE_OPENGL_4X_SMOOTH</A>, <A HREF="../../processing/core/PConstants.html#ENABLE_OPENGL_ERROR_REPORT">ENABLE_OPENGL_ERROR_REPORT</A>, <A HREF="../../processing/core/PConstants.html#ENTER">ENTER</A>, <A HREF="../../processing/core/PConstants.html#EPSILON">EPSILON</A>, <A HREF="../../processing/core/PConstants.html#ER">ER</A>, <A HREF="../../processing/core/PConstants.html#ERODE">ERODE</A>, <A HREF="../../processing/core/PConstants.html#ERROR_BACKGROUND_IMAGE_FORMAT">ERROR_BACKGROUND_IMAGE_FORMAT</A>, <A HREF="../../processing/core/PConstants.html#ERROR_BACKGROUND_IMAGE_SIZE">ERROR_BACKGROUND_IMAGE_SIZE</A>, <A HREF="../../processing/core/PConstants.html#ERROR_PUSHMATRIX_OVERFLOW">ERROR_PUSHMATRIX_OVERFLOW</A>, <A HREF="../../processing/core/PConstants.html#ERROR_PUSHMATRIX_UNDERFLOW">ERROR_PUSHMATRIX_UNDERFLOW</A>, <A HREF="../../processing/core/PConstants.html#ERROR_TEXTFONT_NULL_PFONT">ERROR_TEXTFONT_NULL_PFONT</A>, <A HREF="../../processing/core/PConstants.html#ESC">ESC</A>, <A HREF="../../processing/core/PConstants.html#EXCLUSION">EXCLUSION</A>, <A HREF="../../processing/core/PConstants.html#G">G</A>, <A HREF="../../processing/core/PConstants.html#GIF">GIF</A>, <A HREF="../../processing/core/PConstants.html#GRAY">GRAY</A>, <A HREF="../../processing/core/PConstants.html#GREEN_MASK">GREEN_MASK</A>, <A HREF="../../processing/core/PConstants.html#HALF_PI">HALF_PI</A>, <A HREF="../../processing/core/PConstants.html#HAND">HAND</A>, <A HREF="../../processing/core/PConstants.html#HARD_LIGHT">HARD_LIGHT</A>, <A HREF="../../processing/core/PConstants.html#HINT_COUNT">HINT_COUNT</A>, <A HREF="../../processing/core/PConstants.html#HSB">HSB</A>, <A HREF="../../processing/core/PConstants.html#IMAGE">IMAGE</A>, <A HREF="../../processing/core/PConstants.html#INVERT">INVERT</A>, <A HREF="../../processing/core/PConstants.html#JAVA2D">JAVA2D</A>, <A HREF="../../processing/core/PConstants.html#JPEG">JPEG</A>, <A HREF="../../processing/core/PConstants.html#LEFT">LEFT</A>, <A HREF="../../processing/core/PConstants.html#LIGHTEST">LIGHTEST</A>, <A HREF="../../processing/core/PConstants.html#LINE">LINE</A>, <A HREF="../../processing/core/PConstants.html#LINES">LINES</A>, <A HREF="../../processing/core/PConstants.html#LINUX">LINUX</A>, <A HREF="../../processing/core/PConstants.html#MACOSX">MACOSX</A>, <A HREF="../../processing/core/PConstants.html#MAX_FLOAT">MAX_FLOAT</A>, <A HREF="../../processing/core/PConstants.html#MAX_INT">MAX_INT</A>, <A HREF="../../processing/core/PConstants.html#MIN_FLOAT">MIN_FLOAT</A>, <A HREF="../../processing/core/PConstants.html#MIN_INT">MIN_INT</A>, <A HREF="../../processing/core/PConstants.html#MITER">MITER</A>, <A HREF="../../processing/core/PConstants.html#MODEL">MODEL</A>, <A HREF="../../processing/core/PConstants.html#MOVE">MOVE</A>, <A HREF="../../processing/core/PConstants.html#MULTIPLY">MULTIPLY</A>, <A HREF="../../processing/core/PConstants.html#NORMAL">NORMAL</A>, <A HREF="../../processing/core/PConstants.html#NORMALIZED">NORMALIZED</A>, <A HREF="../../processing/core/PConstants.html#NX">NX</A>, <A HREF="../../processing/core/PConstants.html#NY">NY</A>, <A HREF="../../processing/core/PConstants.html#NZ">NZ</A>, <A HREF="../../processing/core/PConstants.html#OPAQUE">OPAQUE</A>, <A HREF="../../processing/core/PConstants.html#OPEN">OPEN</A>, <A HREF="../../processing/core/PConstants.html#OPENGL">OPENGL</A>, <A HREF="../../processing/core/PConstants.html#ORTHOGRAPHIC">ORTHOGRAPHIC</A>, <A HREF="../../processing/core/PConstants.html#OTHER">OTHER</A>, <A HREF="../../processing/core/PConstants.html#OVERLAY">OVERLAY</A>, <A HREF="../../processing/core/PConstants.html#P2D">P2D</A>, <A HREF="../../processing/core/PConstants.html#P3D">P3D</A>, <A HREF="../../processing/core/PConstants.html#PATH">PATH</A>, <A HREF="../../processing/core/PConstants.html#PDF">PDF</A>, <A HREF="../../processing/core/PConstants.html#PERSPECTIVE">PERSPECTIVE</A>, <A HREF="../../processing/core/PConstants.html#PI">PI</A>, <A HREF="../../processing/core/PConstants.html#platformNames">platformNames</A>, <A HREF="../../processing/core/PConstants.html#POINT">POINT</A>, <A HREF="../../processing/core/PConstants.html#POINTS">POINTS</A>, <A HREF="../../processing/core/PConstants.html#POLYGON">POLYGON</A>, <A HREF="../../processing/core/PConstants.html#POSTERIZE">POSTERIZE</A>, <A HREF="../../processing/core/PConstants.html#PROBLEM">PROBLEM</A>, <A HREF="../../processing/core/PConstants.html#PROJECT">PROJECT</A>, <A HREF="../../processing/core/PConstants.html#QUAD">QUAD</A>, <A HREF="../../processing/core/PConstants.html#QUAD_STRIP">QUAD_STRIP</A>, <A HREF="../../processing/core/PConstants.html#QUADS">QUADS</A>, <A HREF="../../processing/core/PConstants.html#QUARTER_PI">QUARTER_PI</A>, <A HREF="../../processing/core/PConstants.html#R">R</A>, <A HREF="../../processing/core/PConstants.html#RAD_TO_DEG">RAD_TO_DEG</A>, <A HREF="../../processing/core/PConstants.html#RADIUS">RADIUS</A>, <A HREF="../../processing/core/PConstants.html#RECT">RECT</A>, <A HREF="../../processing/core/PConstants.html#RED_MASK">RED_MASK</A>, <A HREF="../../processing/core/PConstants.html#REPLACE">REPLACE</A>, <A HREF="../../processing/core/PConstants.html#RETURN">RETURN</A>, <A HREF="../../processing/core/PConstants.html#RGB">RGB</A>, <A HREF="../../processing/core/PConstants.html#RIGHT">RIGHT</A>, <A HREF="../../processing/core/PConstants.html#ROUND">ROUND</A>, <A HREF="../../processing/core/PConstants.html#SA">SA</A>, <A HREF="../../processing/core/PConstants.html#SB">SB</A>, <A HREF="../../processing/core/PConstants.html#SCREEN">SCREEN</A>, <A HREF="../../processing/core/PConstants.html#SG">SG</A>, <A HREF="../../processing/core/PConstants.html#SHAPE">SHAPE</A>, <A HREF="../../processing/core/PConstants.html#SHIFT">SHIFT</A>, <A HREF="../../processing/core/PConstants.html#SHINE">SHINE</A>, <A HREF="../../processing/core/PConstants.html#SOFT_LIGHT">SOFT_LIGHT</A>, <A HREF="../../processing/core/PConstants.html#SPB">SPB</A>, <A HREF="../../processing/core/PConstants.html#SPG">SPG</A>, <A HREF="../../processing/core/PConstants.html#SPHERE">SPHERE</A>, <A HREF="../../processing/core/PConstants.html#SPOT">SPOT</A>, <A HREF="../../processing/core/PConstants.html#SPR">SPR</A>, <A HREF="../../processing/core/PConstants.html#SQUARE">SQUARE</A>, <A HREF="../../processing/core/PConstants.html#SR">SR</A>, <A HREF="../../processing/core/PConstants.html#SUBTRACT">SUBTRACT</A>, <A HREF="../../processing/core/PConstants.html#SW">SW</A>, <A HREF="../../processing/core/PConstants.html#TAB">TAB</A>, <A HREF="../../processing/core/PConstants.html#TARGA">TARGA</A>, <A HREF="../../processing/core/PConstants.html#TEXT">TEXT</A>, <A HREF="../../processing/core/PConstants.html#THIRD_PI">THIRD_PI</A>, <A HREF="../../processing/core/PConstants.html#THRESHOLD">THRESHOLD</A>, <A HREF="../../processing/core/PConstants.html#TIFF">TIFF</A>, <A HREF="../../processing/core/PConstants.html#TOP">TOP</A>, <A HREF="../../processing/core/PConstants.html#TRIANGLE">TRIANGLE</A>, <A HREF="../../processing/core/PConstants.html#TRIANGLE_FAN">TRIANGLE_FAN</A>, <A HREF="../../processing/core/PConstants.html#TRIANGLE_STRIP">TRIANGLE_STRIP</A>, <A HREF="../../processing/core/PConstants.html#TRIANGLES">TRIANGLES</A>, <A HREF="../../processing/core/PConstants.html#TWO_PI">TWO_PI</A>, <A HREF="../../processing/core/PConstants.html#TX">TX</A>, <A HREF="../../processing/core/PConstants.html#TY">TY</A>, <A HREF="../../processing/core/PConstants.html#TZ">TZ</A>, <A HREF="../../processing/core/PConstants.html#U">U</A>, <A HREF="../../processing/core/PConstants.html#UP">UP</A>, <A HREF="../../processing/core/PConstants.html#V">V</A>, <A HREF="../../processing/core/PConstants.html#VERTEX_FIELD_COUNT">VERTEX_FIELD_COUNT</A>, <A HREF="../../processing/core/PConstants.html#VW">VW</A>, <A HREF="../../processing/core/PConstants.html#VX">VX</A>, <A HREF="../../processing/core/PConstants.html#VY">VY</A>, <A HREF="../../processing/core/PConstants.html#VZ">VZ</A>, <A HREF="../../processing/core/PConstants.html#WAIT">WAIT</A>, <A HREF="../../processing/core/PConstants.html#WHITESPACE">WHITESPACE</A>, <A HREF="../../processing/core/PConstants.html#WINDOWS">WINDOWS</A>, <A HREF="../../processing/core/PConstants.html#X">X</A>, <A HREF="../../processing/core/PConstants.html#Y">Y</A>, <A HREF="../../processing/core/PConstants.html#Z">Z</A></CODE></TD> </TR> </TABLE> <A NAME="fields_inherited_from_class_java.awt.image.ImageObserver"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Fields inherited from interface java.awt.image.ImageObserver</B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE>ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH</CODE></TD> </TR> </TABLE> <!-- ======== 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="../../processing/core/PApplet.html#PApplet()">PApplet</A></B>()</CODE> <BR> </TD> </TR> </TABLE> <!-- ========== 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>static float</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#abs(float)">abs</A></B>(float n)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#abs(int)">abs</A></B>(int n)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static float</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#acos(float)">acos</A></B>(float value)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#addListeners()">addListeners</A></B>()</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> float</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#alpha(int)">alpha</A></B>(int what)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#ambient(float)">ambient</A></B>(float gray)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#ambient(float, float, float)">ambient</A></B>(float x, float y, float z)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#ambient(int)">ambient</A></B>(int rgb)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#ambientLight(float, float, float)">ambientLight</A></B>(float red, float green, float blue)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#ambientLight(float, float, float, float, float, float)">ambientLight</A></B>(float red, float green, float blue, float x, float y, float z)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static byte[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#append(byte[], byte)">append</A></B>(byte[] b, byte value)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static char[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#append(char[], char)">append</A></B>(char[] b, char value)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static float[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#append(float[], float)">append</A></B>(float[] b, float value)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#append(int[], int)">append</A></B>(int[] b, int value)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.lang.Object</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#append(java.lang.Object, java.lang.Object)">append</A></B>(java.lang.Object b, java.lang.Object value)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.lang.String[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#append(java.lang.String[], java.lang.String)">append</A></B>(java.lang.String[] b, java.lang.String value)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#applyMatrix(float, float, float, float, float, float)">applyMatrix</A></B>(float n00, float n01, float n02, float n10, float n11, float n12)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#applyMatrix(float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float)">applyMatrix</A></B>(float n00, float n01, float n02, float n03, float n10, float n11, float n12, float n13, float n20, float n21, float n22, float n23, float n30, float n31, float n32, float n33)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#applyMatrix(processing.core.PMatrix)">applyMatrix</A></B>(<A HREF="../../processing/core/PMatrix.html" title="interface in processing.core">PMatrix</A> source)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#applyMatrix(processing.core.PMatrix2D)">applyMatrix</A></B>(<A HREF="../../processing/core/PMatrix2D.html" title="class in processing.core">PMatrix2D</A> source)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#applyMatrix(processing.core.PMatrix3D)">applyMatrix</A></B>(<A HREF="../../processing/core/PMatrix3D.html" title="class in processing.core">PMatrix3D</A> source)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#arc(float, float, float, float, float, float)">arc</A></B>(float a, float b, float c, float d, float start, float stop)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#arraycopy(java.lang.Object, int, java.lang.Object, int, int)">arraycopy</A></B>(java.lang.Object src, int srcPosition, java.lang.Object dst, int dstPosition, int length)</CODE> <BR> <B>Deprecated.</B> <I>Use arrayCopy() instead.</I></TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#arrayCopy(java.lang.Object, int, java.lang.Object, int, int)">arrayCopy</A></B>(java.lang.Object src, int srcPosition, java.lang.Object dst, int dstPosition, int length)</CODE> <BR> Calls System.arraycopy(), included here so that we can avoid people needing to learn about the System object before they can just copy an array.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#arraycopy(java.lang.Object, java.lang.Object)">arraycopy</A></B>(java.lang.Object src, java.lang.Object dst)</CODE> <BR> <B>Deprecated.</B> <I>Use arrayCopy() instead.</I></TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#arrayCopy(java.lang.Object, java.lang.Object)">arrayCopy</A></B>(java.lang.Object src, java.lang.Object dst)</CODE> <BR> Shortcut to copy the entire contents of the source into the destination array.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#arraycopy(java.lang.Object, java.lang.Object, int)">arraycopy</A></B>(java.lang.Object src, java.lang.Object dst, int length)</CODE> <BR> <B>Deprecated.</B> <I>Use arrayCopy() instead.</I></TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#arrayCopy(java.lang.Object, java.lang.Object, int)">arrayCopy</A></B>(java.lang.Object src, java.lang.Object dst, int length)</CODE> <BR> Convenience method for arraycopy().</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static float</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#asin(float)">asin</A></B>(float value)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static float</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#atan(float)">atan</A></B>(float value)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static float</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#atan2(float, float)">atan2</A></B>(float a, float b)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#background(float)">background</A></B>(float gray)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#background(float, float)">background</A></B>(float gray, float alpha)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#background(float, float, float)">background</A></B>(float x, float y, float z)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#background(float, float, float, float)">background</A></B>(float x, float y, float z, float a)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#background(int)">background</A></B>(int rgb)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#background(int, float)">background</A></B>(int rgb, float alpha)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#background(processing.core.PImage)">background</A></B>(<A HREF="../../processing/core/PImage.html" title="class in processing.core">PImage</A> image)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#beginCamera()">beginCamera</A></B>()</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#beginRaw(processing.core.PGraphics)">beginRaw</A></B>(<A HREF="../../processing/core/PGraphics.html" title="class in processing.core">PGraphics</A> rawGraphics)</CODE> <BR> Begin recording raw shape data to the specified renderer.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../processing/core/PGraphics.html" title="class in processing.core">PGraphics</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#beginRaw(java.lang.String, java.lang.String)">beginRaw</A></B>(java.lang.String renderer, java.lang.String filename)</CODE> <BR> Begin recording raw shape data to a renderer of the specified type, using the width and height of the main drawing surface.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#beginRecord(processing.core.PGraphics)">beginRecord</A></B>(<A HREF="../../processing/core/PGraphics.html" title="class in processing.core">PGraphics</A> recorder)</CODE> <BR> Begin recording (echoing) commands to the specified PGraphics object.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../processing/core/PGraphics.html" title="class in processing.core">PGraphics</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#beginRecord(java.lang.String, java.lang.String)">beginRecord</A></B>(java.lang.String renderer, java.lang.String filename)</CODE> <BR> Begin recording to a new renderer of the specified type, using the width and height of the main drawing surface.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#beginShape()">beginShape</A></B>()</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#beginShape(int)">beginShape</A></B>(int kind)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#bezier(float, float, float, float, float, float, float, float)">bezier</A></B>(float x1, float y1, float x2, float y2, float x3, float y3, float x4, float y4)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#bezier(float, float, float, float, float, float, float, float, float, float, float, float)">bezier</A></B>(float x1, float y1, float z1, float x2, float y2, float z2, float x3, float y3, float z3, float x4, float y4, float z4)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#bezierDetail(int)">bezierDetail</A></B>(int detail)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> float</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#bezierPoint(float, float, float, float, float)">bezierPoint</A></B>(float a, float b, float c, float d, float t)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> float</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#bezierTangent(float, float, float, float, float)">bezierTangent</A></B>(float a, float b, float c, float d, float t)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#bezierVertex(float, float, float, float, float, float)">bezierVertex</A></B>(float x2, float y2, float x3, float y3, float x4, float y4)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#bezierVertex(float, float, float, float, float, float, float, float, float)">bezierVertex</A></B>(float x2, float y2, float z2, float x3, float y3, float z3, float x4, float y4, float z4)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#binary(byte)">binary</A></B>(byte what)</CODE> <BR> Returns a String that contains the binary value of a byte.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#binary(char)">binary</A></B>(char what)</CODE> <BR> Returns a String that contains the binary value of a char.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#binary(int)">binary</A></B>(int what)</CODE> <BR> Returns a String that contains the binary value of an int.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#binary(int, int)">binary</A></B>(int what, int digits)</CODE> <BR> Returns a String that contains the binary value of an int.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#blend(int, int, int, int, int, int, int, int, int)">blend</A></B>(int sx, int sy, int sw, int sh, int dx, int dy, int dw, int dh, int mode)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#blend(processing.core.PImage, int, int, int, int, int, int, int, int, int)">blend</A></B>(<A HREF="../../processing/core/PImage.html" title="class in processing.core">PImage</A> src, int sx, int sy, int sw, int sh, int dx, int dy, int dw, int dh, int mode)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#blendColor(int, int, int)">blendColor</A></B>(int c1, int c2, int mode)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> float</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#blue(int)">blue</A></B>(int what)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#box(float)">box</A></B>(float size)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#box(float, float, float)">box</A></B>(float w, float h, float d)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#breakShape()">breakShape</A></B>()</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> float</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#brightness(int)">brightness</A></B>(int what)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#camera()">camera</A></B>()</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#camera(float, float, float, float, float, float, float, float, float)">camera</A></B>(float eyeX, float eyeY, float eyeZ, float centerX, float centerY, float centerZ, float upX, float upY, float upZ)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#ceil(float)">ceil</A></B>(float what)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#color(float)">color</A></B>(float fgray)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#color(float, float)">color</A></B>(float fgray, float falpha)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#color(float, float, float)">color</A></B>(float x, float y, float z)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#color(float, float, float, float)">color</A></B>(float x, float y, float z, float a)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#color(int)">color</A></B>(int gray)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#color(int, int)">color</A></B>(int gray, int alpha)</CODE> <BR> As of 0116 this also takes color(#FF8800, alpha)</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#color(int, int, int)">color</A></B>(int x, int y, int z)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#color(int, int, int, int)">color</A></B>(int x, int y, int z, int a)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#colorMode(int)">colorMode</A></B>(int mode)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#colorMode(int, float)">colorMode</A></B>(int mode, float max)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#colorMode(int, float, float, float)">colorMode</A></B>(int mode, float maxX, float maxY, float maxZ)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#colorMode(int, float, float, float, float)">colorMode</A></B>(int mode, float maxX, float maxY, float maxZ, float maxA)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static boolean[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#concat(boolean[], boolean[])">concat</A></B>(boolean[] a, boolean[] b)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static byte[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#concat(byte[], byte[])">concat</A></B>(byte[] a, byte[] b)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static char[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#concat(char[], char[])">concat</A></B>(char[] a, char[] b)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static float[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#concat(float[], float[])">concat</A></B>(float[] a, float[] b)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#concat(int[], int[])">concat</A></B>(int[] a, int[] b)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.lang.Object</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#concat(java.lang.Object, java.lang.Object)">concat</A></B>(java.lang.Object a, java.lang.Object b)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.lang.String[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#concat(java.lang.String[], java.lang.String[])">concat</A></B>(java.lang.String[] a, java.lang.String[] b)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static float</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#constrain(float, float, float)">constrain</A></B>(float amt, float low, float high)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#constrain(int, int, int)">constrain</A></B>(int amt, int low, int high)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#copy(int, int, int, int, int, int, int, int)">copy</A></B>(int sx, int sy, int sw, int sh, int dx, int dy, int dw, int dh)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#copy(processing.core.PImage, int, int, int, int, int, int, int, int)">copy</A></B>(<A HREF="../../processing/core/PImage.html" title="class in processing.core">PImage</A> src, int sx, int sy, int sw, int sh, int dx, int dy, int dw, int dh)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static float</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#cos(float)">cos</A></B>(float angle)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../processing/core/PFont.html" title="class in processing.core">PFont</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#createFont(java.lang.String, float)">createFont</A></B>(java.lang.String name, float size)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../processing/core/PFont.html" title="class in processing.core">PFont</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#createFont(java.lang.String, float, boolean)">createFont</A></B>(java.lang.String name, float size, boolean smooth)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../processing/core/PFont.html" title="class in processing.core">PFont</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#createFont(java.lang.String, float, boolean, char[])">createFont</A></B>(java.lang.String name, float size, boolean smooth, char[] charset)</CODE> <BR> Create a .vlw font on the fly from either a font name that's installed on the system, or from a .ttf or .otf that's inside the data folder of this sketch.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../processing/core/PGraphics.html" title="class in processing.core">PGraphics</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#createGraphics(int, int, java.lang.String)">createGraphics</A></B>(int iwidth, int iheight, java.lang.String irenderer)</CODE> <BR> Create an offscreen PGraphics object for drawing.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../processing/core/PGraphics.html" title="class in processing.core">PGraphics</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#createGraphics(int, int, java.lang.String, java.lang.String)">createGraphics</A></B>(int iwidth, int iheight, java.lang.String irenderer, java.lang.String ipath)</CODE> <BR> Create an offscreen graphics surface for drawing, in this case for a renderer that writes to a file (such as PDF or DXF).</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../processing/core/PImage.html" title="class in processing.core">PImage</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#createImage(int, int, int)">createImage</A></B>(int wide, int high, int format)</CODE> <BR> Preferred method of creating new PImage objects, ensures that a reference to the parent PApplet is included, which makes save() work without needing an absolute path.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.io.InputStream</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#createInput(java.io.File)">createInput</A></B>(java.io.File file)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.io.InputStream</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#createInput(java.lang.String)">createInput</A></B>(java.lang.String filename)</CODE> <BR> Simplified method to open a Java InputStream.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.io.InputStream</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#createInputRaw(java.lang.String)">createInputRaw</A></B>(java.lang.String filename)</CODE> <BR> Call openStream() without automatic gzip decompression.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.io.OutputStream</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#createOutput(java.io.File)">createOutput</A></B>(java.io.File file)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.io.OutputStream</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#createOutput(java.lang.String)">createOutput</A></B>(java.lang.String filename)</CODE> <BR> Similar to createInput() (formerly openStream), this creates a Java OutputStream for a given filename or path.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#createPath(java.io.File)">createPath</A></B>(java.io.File file)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#createPath(java.lang.String)">createPath</A></B>(java.lang.String path)</CODE> <BR> Takes a path and creates any in-between folders if they don't already exist.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.io.BufferedReader</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#createReader(java.io.File)">createReader</A></B>(java.io.File file)</CODE> <BR> I want to read lines from a file.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.io.BufferedReader</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#createReader(java.io.InputStream)">createReader</A></B>(java.io.InputStream input)</CODE> <BR> I want to read lines from a stream.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.io.BufferedReader</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#createReader(java.lang.String)">createReader</A></B>(java.lang.String filename)</CODE> <BR> I want to read lines from a file.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.io.PrintWriter</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#createWriter(java.io.File)">createWriter</A></B>(java.io.File file)</CODE> <BR> I want to print lines to a file.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.io.PrintWriter</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#createWriter(java.io.OutputStream)">createWriter</A></B>(java.io.OutputStream output)</CODE> <BR> I want to print lines to a file.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.io.PrintWriter</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#createWriter(java.lang.String)">createWriter</A></B>(java.lang.String filename)</CODE> <BR> I want to print lines to a file.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#cursor()">cursor</A></B>()</CODE> <BR> Show the cursor after noCursor() was called.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#cursor(int)">cursor</A></B>(int cursorType)</CODE> <BR> Set the cursor type</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#cursor(processing.core.PImage)">cursor</A></B>(<A HREF="../../processing/core/PImage.html" title="class in processing.core">PImage</A> image)</CODE> <BR> Replace the cursor with the specified PImage.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#cursor(processing.core.PImage, int, int)">cursor</A></B>(<A HREF="../../processing/core/PImage.html" title="class in processing.core">PImage</A> image, int hotspotX, int hotspotY)</CODE> <BR> Set a custom cursor to an image with a specific hotspot.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#curve(float, float, float, float, float, float, float, float)">curve</A></B>(float x1, float y1, float x2, float y2, float x3, float y3, float x4, float y4)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#curve(float, float, float, float, float, float, float, float, float, float, float, float)">curve</A></B>(float x1, float y1, float z1, float x2, float y2, float z2, float x3, float y3, float z3, float x4, float y4, float z4)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#curveDetail(int)">curveDetail</A></B>(int detail)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> float</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#curvePoint(float, float, float, float, float)">curvePoint</A></B>(float a, float b, float c, float d, float t)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> float</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#curveTangent(float, float, float, float, float)">curveTangent</A></B>(float a, float b, float c, float d, float t)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#curveTightness(float)">curveTightness</A></B>(float tightness)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#curveVertex(float, float)">curveVertex</A></B>(float x, float y)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#curveVertex(float, float, float)">curveVertex</A></B>(float x, float y, float z)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.io.File</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#dataFile(java.lang.String)">dataFile</A></B>(java.lang.String where)</CODE> <BR> Return a full path to an item in the data folder as a File object.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#dataPath(java.lang.String)">dataPath</A></B>(java.lang.String where)</CODE> <BR> Return a full path to an item in the data folder.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#day()">day</A></B>()</CODE> <BR> Get the current day of the month (1 through 31).</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static float</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#degrees(float)">degrees</A></B>(float radians)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#delay(int)">delay</A></B>(int napTime)</CODE> <BR> The delay() function causes the program to halt for a specified time.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#destroy()">destroy</A></B>()</CODE> <BR> Called by the browser or applet viewer to inform this applet that it is being reclaimed and that it should destroy any resources that it has allocated.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#die(java.lang.String)">die</A></B>(java.lang.String what)</CODE> <BR> Function for an applet/application to kill itself and display an error.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#die(java.lang.String, java.lang.Exception)">die</A></B>(java.lang.String what, java.lang.Exception e)</CODE> <BR> Same as above but with an exception.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#directionalLight(float, float, float, float, float, float)">directionalLight</A></B>(float red, float green, float blue, float nx, float ny, float nz)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#displayable()">displayable</A></B>()</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static float</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#dist(float, float, float, float)">dist</A></B>(float x1, float y1, float x2, float y2)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static float</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#dist(float, float, float, float, float, float)">dist</A></B>(float x1, float y1, float z1, float x2, float y2, float z2)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#draw()">draw</A></B>()</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#edge(boolean)">edge</A></B>(boolean edge)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#ellipse(float, float, float, float)">ellipse</A></B>(float a, float b, float c, float d)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#ellipseMode(int)">ellipseMode</A></B>(int mode)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#emissive(float)">emissive</A></B>(float gray)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#emissive(float, float, float)">emissive</A></B>(float x, float y, float z)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#emissive(int)">emissive</A></B>(int rgb)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#endCamera()">endCamera</A></B>()</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#endRaw()">endRaw</A></B>()</CODE> <BR> Stop recording raw shape data to the specified renderer.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#endRecord()">endRecord</A></B>()</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#endShape()">endShape</A></B>()</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#endShape(int)">endShape</A></B>(int mode)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.lang.Process</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#exec(java.lang.String[])">exec</A></B>(java.lang.String[] argv)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#exit()">exit</A></B>()</CODE> <BR> Call to safely exit the sketch when finished.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static float</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#exp(float)">exp</A></B>(float a)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static boolean[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#expand(boolean[])">expand</A></B>(boolean[] list)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static boolean[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#expand(boolean[], int)">expand</A></B>(boolean[] list, int newSize)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static byte[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#expand(byte[])">expand</A></B>(byte[] list)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static byte[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#expand(byte[], int)">expand</A></B>(byte[] list, int newSize)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static char[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#expand(char[])">expand</A></B>(char[] list)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static char[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#expand(char[], int)">expand</A></B>(char[] list, int newSize)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static float[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#expand(float[])">expand</A></B>(float[] list)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static float[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#expand(float[], int)">expand</A></B>(float[] list, int newSize)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#expand(int[])">expand</A></B>(int[] list)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#expand(int[], int)">expand</A></B>(int[] list, int newSize)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.lang.Object</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#expand(java.lang.Object)">expand</A></B>(java.lang.Object array)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.lang.Object</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#expand(java.lang.Object, int)">expand</A></B>(java.lang.Object list, int newSize)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.lang.String[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#expand(java.lang.String[])">expand</A></B>(java.lang.String[] list)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.lang.String[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#expand(java.lang.String[], int)">expand</A></B>(java.lang.String[] list, int newSize)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#fill(float)">fill</A></B>(float gray)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#fill(float, float)">fill</A></B>(float gray, float alpha)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#fill(float, float, float)">fill</A></B>(float x, float y, float z)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#fill(float, float, float, float)">fill</A></B>(float x, float y, float z, float a)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#fill(int)">fill</A></B>(int rgb)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#fill(int, float)">fill</A></B>(int rgb, float alpha)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#filter(int)">filter</A></B>(int kind)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#filter(int, float)">filter</A></B>(int kind, float param)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#floor(float)">floor</A></B>(float what)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#flush()">flush</A></B>()</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#focusGained()">focusGained</A></B>()</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#focusGained(java.awt.event.FocusEvent)">focusGained</A></B>(java.awt.event.FocusEvent e)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#focusLost()">focusLost</A></B>()</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#focusLost(java.awt.event.FocusEvent)">focusLost</A></B>(java.awt.event.FocusEvent e)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#frameRate(float)">frameRate</A></B>(float newRateTarget)</CODE> <BR> Set a target frameRate.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#frustum(float, float, float, float, float, float)">frustum</A></B>(float left, float right, float bottom, float top, float near, float far)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../processing/core/PImage.html" title="class in processing.core">PImage</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#get()">get</A></B>()</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#get(int, int)">get</A></B>(int x, int y)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../processing/core/PImage.html" title="class in processing.core">PImage</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#get(int, int, int, int)">get</A></B>(int x, int y, int w, int h)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.lang.Object</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#getCache(java.lang.Object)">getCache</A></B>(java.lang.Object parent)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../processing/core/PMatrix.html" title="interface in processing.core">PMatrix</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#getMatrix()">getMatrix</A></B>()</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../processing/core/PMatrix2D.html" title="class in processing.core">PMatrix2D</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#getMatrix(processing.core.PMatrix2D)">getMatrix</A></B>(<A HREF="../../processing/core/PMatrix2D.html" title="class in processing.core">PMatrix2D</A> target)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../processing/core/PMatrix3D.html" title="class in processing.core">PMatrix3D</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#getMatrix(processing.core.PMatrix3D)">getMatrix</A></B>(<A HREF="../../processing/core/PMatrix3D.html" title="class in processing.core">PMatrix3D</A> target)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#getSketchHeight()">getSketchHeight</A></B>()</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#getSketchRenderer()">getSketchRenderer</A></B>()</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#getSketchWidth()">getSketchWidth</A></B>()</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> float</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#green(int)">green</A></B>(int what)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#handleDraw()">handleDraw</A></B>()</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#hex(byte)">hex</A></B>(byte what)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#hex(char)">hex</A></B>(char what)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#hex(int)">hex</A></B>(int what)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#hex(int, int)">hex</A></B>(int what, int digits)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#hint(int)">hint</A></B>(int which)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#hour()">hour</A></B>()</CODE> <BR> Hour position of the current time in international format (0-23).</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> float</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#hue(int)">hue</A></B>(int what)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#image(processing.core.PImage, float, float)">image</A></B>(<A HREF="../../processing/core/PImage.html" title="class in processing.core">PImage</A> image, float x, float y)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#image(processing.core.PImage, float, float, float, float)">image</A></B>(<A HREF="../../processing/core/PImage.html" title="class in processing.core">PImage</A> image, float x, float y, float c, float d)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#image(processing.core.PImage, float, float, float, float, int, int, int, int)">image</A></B>(<A HREF="../../processing/core/PImage.html" title="class in processing.core">PImage</A> image, float a, float b, float c, float d, int u1, int v1, int u2, int v2)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#imageMode(int)">imageMode</A></B>(int mode)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#init()">init</A></B>()</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#join(java.lang.String[], char)">join</A></B>(java.lang.String[] str, char separator)</CODE> <BR> Join an array of Strings together as a single String, separated by the whatever's passed in for the separator.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#join(java.lang.String[], java.lang.String)">join</A></B>(java.lang.String[] str, java.lang.String separator)</CODE> <BR> Join an array of Strings together as a single String, separated by the whatever's passed in for the separator.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#keyPressed()">keyPressed</A></B>()</CODE> <BR> Called each time a single key on the keyboard is pressed.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#keyPressed(java.awt.event.KeyEvent)">keyPressed</A></B>(java.awt.event.KeyEvent e)</CODE> <BR> Overriding keyXxxxx(KeyEvent e) functions will cause the 'key', 'keyCode', and 'keyEvent' variables to no longer work; key events will no longer be queued until the end of draw(); and the keyPressed(), keyReleased() and keyTyped() methods will no longer be called.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#keyReleased()">keyReleased</A></B>()</CODE> <BR> See keyPressed().</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#keyReleased(java.awt.event.KeyEvent)">keyReleased</A></B>(java.awt.event.KeyEvent e)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#keyTyped()">keyTyped</A></B>()</CODE> <BR> Only called for "regular" keys like letters, see keyPressed() for full documentation.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#keyTyped(java.awt.event.KeyEvent)">keyTyped</A></B>(java.awt.event.KeyEvent e)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static float</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#lerp(float, float, float)">lerp</A></B>(float start, float stop, float amt)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#lerpColor(int, int, float)">lerpColor</A></B>(int c1, int c2, float amt)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#lerpColor(int, int, float, int)">lerpColor</A></B>(int c1, int c2, float amt, int mode)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#lightFalloff(float, float, float)">lightFalloff</A></B>(float constant, float linear, float quadratic)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#lights()">lights</A></B>()</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#lightSpecular(float, float, float)">lightSpecular</A></B>(float x, float y, float z)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#line(float, float, float, float)">line</A></B>(float x1, float y1, float x2, float y2)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#line(float, float, float, float, float, float)">line</A></B>(float x1, float y1, float z1, float x2, float y2, float z2)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#link(java.lang.String)">link</A></B>(java.lang.String here)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#link(java.lang.String, java.lang.String)">link</A></B>(java.lang.String url, java.lang.String frameTitle)</CODE> <BR> Link to an external page without all the muss.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static byte[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#loadBytes(java.io.File)">loadBytes</A></B>(java.io.File file)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static byte[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#loadBytes(java.io.InputStream)">loadBytes</A></B>(java.io.InputStream input)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> byte[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#loadBytes(java.lang.String)">loadBytes</A></B>(java.lang.String filename)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../processing/core/PFont.html" title="class in processing.core">PFont</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#loadFont(java.lang.String)">loadFont</A></B>(java.lang.String filename)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../processing/core/PImage.html" title="class in processing.core">PImage</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#loadImage(java.lang.String)">loadImage</A></B>(java.lang.String filename)</CODE> <BR> Load an image from the data folder or a local directory.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../processing/core/PImage.html" title="class in processing.core">PImage</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#loadImage(java.lang.String, java.lang.String)">loadImage</A></B>(java.lang.String filename, java.lang.String extension)</CODE> <BR> Identical to loadImage, but allows you to specify the type of image by its extension.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#loadPixels()">loadPixels</A></B>()</CODE> <BR> Override the g.pixels[] function to set the pixels[] array that's part of the PApplet object.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../processing/core/PShape.html" title="class in processing.core">PShape</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#loadShape(java.lang.String)">loadShape</A></B>(java.lang.String filename)</CODE> <BR> Load a geometry from a file as a PShape.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.lang.String[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#loadStrings(java.io.File)">loadStrings</A></B>(java.io.File file)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.lang.String[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#loadStrings(java.io.InputStream)">loadStrings</A></B>(java.io.InputStream input)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.lang.String[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#loadStrings(java.lang.String)">loadStrings</A></B>(java.lang.String filename)</CODE> <BR> Load data from a file and shove it into a String array.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static float</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#log(float)">log</A></B>(float a)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#loop()">loop</A></B>()</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static float</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#mag(float, float)">mag</A></B>(float a, float b)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static float</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#mag(float, float, float)">mag</A></B>(float a, float b, float c)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#main(java.lang.String[])">main</A></B>(java.lang.String[] args)</CODE> <BR> main() method for running this class from the command line.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static float</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#map(float, float, float, float, float)">map</A></B>(float value, float istart, float istop, float ostart, float ostop)</CODE> <BR> Convenience function to map a variable from one coordinate space to another.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#mask(int[])">mask</A></B>(int[] alpha)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#mask(processing.core.PImage)">mask</A></B>(<A HREF="../../processing/core/PImage.html" title="class in processing.core">PImage</A> alpha)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.lang.String[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#match(java.lang.String, java.lang.String)">match</A></B>(java.lang.String what, java.lang.String regexp)</CODE> <BR> Match a string with a regular expression, and returns the match as an array.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.lang.String[][]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#matchAll(java.lang.String, java.lang.String)">matchAll</A></B>(java.lang.String what, java.lang.String regexp)</CODE> <BR> Identical to match(), except that it returns an array of all matches in the specified String, rather than just the first.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static float</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#max(float[])">max</A></B>(float[] list)</CODE> <BR> Find the maximum value in an array.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static float</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#max(float, float)">max</A></B>(float a, float b)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static float</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#max(float, float, float)">max</A></B>(float a, float b, float c)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#max(int[])">max</A></B>(int[] list)</CODE> <BR> Find the maximum value in an array.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#max(int, int)">max</A></B>(int a, int b)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#max(int, int, int)">max</A></B>(int a, int b, int c)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#millis()">millis</A></B>()</CODE> <BR> Get the number of milliseconds since the applet started.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static float</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#min(float[])">min</A></B>(float[] list)</CODE> <BR> Find the minimum value in an array.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static float</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#min(float, float)">min</A></B>(float a, float b)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static float</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#min(float, float, float)">min</A></B>(float a, float b, float c)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#min(int[])">min</A></B>(int[] list)</CODE> <BR> Find the minimum value in an array.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#min(int, int)">min</A></B>(int a, int b)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#min(int, int, int)">min</A></B>(int a, int b, int c)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#minute()">minute</A></B>()</CODE> <BR> Minutes position of the current time.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> float</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#modelX(float, float, float)">modelX</A></B>(float x, float y, float z)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> float</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#modelY(float, float, float)">modelY</A></B>(float x, float y, float z)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> float</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#modelZ(float, float, float)">modelZ</A></B>(float x, float y, float z)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#month()">month</A></B>()</CODE> <BR> Get the current month in range 1 through 12.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#mouseClicked()">mouseClicked</A></B>()</CODE> <BR> When the mouse is clicked, mousePressed() will be called, then mouseReleased(), then mouseClicked().</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#mouseClicked(java.awt.event.MouseEvent)">mouseClicked</A></B>(java.awt.event.MouseEvent e)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#mouseDragged()">mouseDragged</A></B>()</CODE> <BR> Mouse button is pressed and the mouse has been dragged.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#mouseDragged(java.awt.event.MouseEvent)">mouseDragged</A></B>(java.awt.event.MouseEvent e)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#mouseEntered(java.awt.event.MouseEvent)">mouseEntered</A></B>(java.awt.event.MouseEvent e)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#mouseExited(java.awt.event.MouseEvent)">mouseExited</A></B>(java.awt.event.MouseEvent e)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#mouseMoved()">mouseMoved</A></B>()</CODE> <BR> Mouse button is not pressed but the mouse has changed locations.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#mouseMoved(java.awt.event.MouseEvent)">mouseMoved</A></B>(java.awt.event.MouseEvent e)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#mousePressed()">mousePressed</A></B>()</CODE> <BR> Mouse has been pressed, and should be considered "down" until mouseReleased() is called.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#mousePressed(java.awt.event.MouseEvent)">mousePressed</A></B>(java.awt.event.MouseEvent e)</CODE> <BR> If you override this or any function that takes a "MouseEvent e" without calling its super.mouseXxxx() then mouseX, mouseY, mousePressed, and mouseEvent will no longer be set.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#mouseReleased()">mouseReleased</A></B>()</CODE> <BR> Mouse button has been released.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#mouseReleased(java.awt.event.MouseEvent)">mouseReleased</A></B>(java.awt.event.MouseEvent e)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.lang.String[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#nf(float[], int, int)">nf</A></B>(float[] num, int left, int right)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#nf(float, int, int)">nf</A></B>(float num, int left, int right)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.lang.String[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#nf(int[], int)">nf</A></B>(int[] num, int digits)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#nf(int, int)">nf</A></B>(int num, int digits)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.lang.String[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#nfc(float[], int)">nfc</A></B>(float[] num, int right)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#nfc(float, int)">nfc</A></B>(float num, int right)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#nfc(int)">nfc</A></B>(int num)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.lang.String[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#nfc(int[])">nfc</A></B>(int[] num)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.lang.String[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#nfp(float[], int, int)">nfp</A></B>(float[] num, int left, int right)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#nfp(float, int, int)">nfp</A></B>(float num, int left, int right)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.lang.String[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#nfp(int[], int)">nfp</A></B>(int[] num, int digits)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#nfp(int, int)">nfp</A></B>(int num, int digits)</CODE> <BR> number format positive (or plus) Formats a number, always placing a - or + sign in the front when it's negative or positive.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.lang.String[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#nfs(float[], int, int)">nfs</A></B>(float[] num, int left, int right)</CODE> <BR> Number formatter that takes into account whether the number has a sign (positive, negative, etc) in front of it.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#nfs(float, int, int)">nfs</A></B>(float num, int left, int right)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.lang.String[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#nfs(int[], int)">nfs</A></B>(int[] num, int digits)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#nfs(int, int)">nfs</A></B>(int num, int digits)</CODE> <BR> number format signed (or space) Formats a number but leaves a blank space in the front when it's positive so that it can be properly aligned with numbers that have a negative sign in front of them.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#noCursor()">noCursor</A></B>()</CODE> <BR> Hide the cursor by creating a transparent image and using it as a custom cursor.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#noFill()">noFill</A></B>()</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> float</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#noise(float)">noise</A></B>(float x)</CODE> <BR> Computes the Perlin noise function value at point x.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> float</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#noise(float, float)">noise</A></B>(float x, float y)</CODE> <BR> Computes the Perlin noise function value at the point x, y.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> float</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#noise(float, float, float)">noise</A></B>(float x, float y, float z)</CODE> <BR> Computes the Perlin noise function value at x, y, z.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#noiseDetail(int)">noiseDetail</A></B>(int lod)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#noiseDetail(int, float)">noiseDetail</A></B>(int lod, float falloff)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#noiseSeed(long)">noiseSeed</A></B>(long what)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#noLights()">noLights</A></B>()</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#noLoop()">noLoop</A></B>()</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static float</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#norm(float, float, float)">norm</A></B>(float value, float start, float stop)</CODE> <BR> Normalize a value to exist between 0 and 1 (inclusive).</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#normal(float, float, float)">normal</A></B>(float nx, float ny, float nz)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#noSmooth()">noSmooth</A></B>()</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#noStroke()">noStroke</A></B>()</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#noTint()">noTint</A></B>()</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#open(java.lang.String)">open</A></B>(java.lang.String filename)</CODE> <BR> Attempt to open a file using the platform's shell.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.lang.Process</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#open(java.lang.String[])">open</A></B>(java.lang.String[] argv)</CODE> <BR> Launch a process using a platforms shell.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.io.InputStream</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#openStream(java.lang.String)">openStream</A></B>(java.lang.String filename)</CODE> <BR> <B>Deprecated.</B> <I>As of release 0136, use createInput() instead.</I></TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#ortho()">ortho</A></B>()</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#ortho(float, float, float, float, float, float)">ortho</A></B>(float left, float right, float bottom, float top, float near, float far)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#paint(java.awt.Graphics)">paint</A></B>(java.awt.Graphics screen)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#param(java.lang.String)">param</A></B>(java.lang.String what)</CODE> <BR> Get a param from the web page, or (eventually) from a properties file.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static boolean[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#parseBoolean(byte[])">parseBoolean</A></B>(byte[] what)</CODE> <BR> Convert a byte array to a boolean array.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#parseBoolean(int)">parseBoolean</A></B>(int what)</CODE> <BR> Convert an integer to a boolean.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static boolean[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#parseBoolean(int[])">parseBoolean</A></B>(int[] what)</CODE> <BR> Convert an int array to a boolean array.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#parseBoolean(java.lang.String)">parseBoolean</A></B>(java.lang.String what)</CODE> <BR> Convert the string "true" or "false" to a boolean.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static boolean[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#parseBoolean(java.lang.String[])">parseBoolean</A></B>(java.lang.String[] what)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static byte</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#parseByte(boolean)">parseByte</A></B>(boolean what)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static byte[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#parseByte(boolean[])">parseByte</A></B>(boolean[] what)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static float[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#parseByte(byte[])">parseByte</A></B>(byte[] what)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static byte</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#parseByte(char)">parseByte</A></B>(char what)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static byte[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#parseByte(char[])">parseByte</A></B>(char[] what)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static byte</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#parseByte(float)">parseByte</A></B>(float what)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static byte[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#parseByte(float[])">parseByte</A></B>(float[] what)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static byte</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#parseByte(int)">parseByte</A></B>(int what)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static byte[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#parseByte(int[])">parseByte</A></B>(int[] what)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static char</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#parseChar(byte)">parseChar</A></B>(byte what)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static char[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#parseChar(byte[])">parseChar</A></B>(byte[] what)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static char</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#parseChar(int)">parseChar</A></B>(int what)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static char[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#parseChar(int[])">parseChar</A></B>(int[] what)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static float</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#parseFloat(int)">parseFloat</A></B>(int what)</CODE> <BR> Convert an int to a float value.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static float[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#parseFloat(int[])">parseFloat</A></B>(int[] what)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static float</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#parseFloat(java.lang.String)">parseFloat</A></B>(java.lang.String what)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static float[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#parseFloat(java.lang.String[])">parseFloat</A></B>(java.lang.String[] what)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static float[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#parseFloat(java.lang.String[], float)">parseFloat</A></B>(java.lang.String[] what, float missing)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static float</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#parseFloat(java.lang.String, float)">parseFloat</A></B>(java.lang.String what, float otherwise)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#parseInt(boolean)">parseInt</A></B>(boolean what)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#parseInt(boolean[])">parseInt</A></B>(boolean[] what)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#parseInt(byte)">parseInt</A></B>(byte what)</CODE> <BR> Note that parseInt() will un-sign a signed byte value.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#parseInt(byte[])">parseInt</A></B>(byte[] what)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#parseInt(char)">parseInt</A></B>(char what)</CODE> <BR> Note that parseInt('5') is unlike String in the sense that it won't return 5, but the ascii value.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#parseInt(char[])">parseInt</A></B>(char[] what)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#parseInt(float)">parseInt</A></B>(float what)</CODE> <BR> Same as floor(), or an (int) cast.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#parseInt(float[])">parseInt</A></B>(float[] what)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#parseInt(java.lang.String)">parseInt</A></B>(java.lang.String what)</CODE> <BR> Parse a String into an int value.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#parseInt(java.lang.String[])">parseInt</A></B>(java.lang.String[] what)</CODE> <BR> Make an array of int elements from an array of String objects.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#parseInt(java.lang.String[], int)">parseInt</A></B>(java.lang.String[] what, int missing)</CODE> <BR> Make an array of int elements from an array of String objects.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#parseInt(java.lang.String, int)">parseInt</A></B>(java.lang.String what, int otherwise)</CODE> <BR> Parse a String to an int, and provide an alternate value that should be used when the number is invalid.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#perspective()">perspective</A></B>()</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#perspective(float, float, float, float)">perspective</A></B>(float fovy, float aspect, float zNear, float zFar)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#point(float, float)">point</A></B>(float x, float y)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#point(float, float, float)">point</A></B>(float x, float y, float z)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#pointLight(float, float, float, float, float, float)">pointLight</A></B>(float red, float green, float blue, float x, float y, float z)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#popMatrix()">popMatrix</A></B>()</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#popStyle()">popStyle</A></B>()</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static float</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#pow(float, float)">pow</A></B>(float a, float b)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#print(boolean)">print</A></B>(boolean what)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#print(byte)">print</A></B>(byte what)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#print(char)">print</A></B>(char what)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#print(float)">print</A></B>(float what)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#print(int)">print</A></B>(int what)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#print(java.lang.Object)">print</A></B>(java.lang.Object what)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#print(java.lang.String)">print</A></B>(java.lang.String what)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#printCamera()">printCamera</A></B>()</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#println()">println</A></B>()</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#println(boolean)">println</A></B>(boolean what)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#println(byte)">println</A></B>(byte what)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#println(char)">println</A></B>(char what)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#println(float)">println</A></B>(float what)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#println(int)">println</A></B>(int what)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#println(java.lang.Object)">println</A></B>(java.lang.Object what)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#println(java.lang.String)">println</A></B>(java.lang.String what)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#printMatrix()">printMatrix</A></B>()</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#printProjection()">printProjection</A></B>()</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#pushMatrix()">pushMatrix</A></B>()</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#pushStyle()">pushStyle</A></B>()</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#quad(float, float, float, float, float, float, float, float)">quad</A></B>(float x1, float y1, float x2, float y2, float x3, float y3, float x4, float y4)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static float</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#radians(float)">radians</A></B>(float degrees)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> float</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#random(float)">random</A></B>(float howbig)</CODE> <BR> Return a random number in the range [0, howbig).</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> float</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#random(float, float)">random</A></B>(float howsmall, float howbig)</CODE> <BR> Return a random number in the range [howsmall, howbig).</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#randomSeed(long)">randomSeed</A></B>(long what)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#rect(float, float, float, float)">rect</A></B>(float a, float b, float c, float d)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#rectMode(int)">rectMode</A></B>(int mode)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> float</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#red(int)">red</A></B>(int what)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#redraw()">redraw</A></B>()</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#registerDispose(java.lang.Object)">registerDispose</A></B>(java.lang.Object o)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#registerDraw(java.lang.Object)">registerDraw</A></B>(java.lang.Object o)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#registerKeyEvent(java.lang.Object)">registerKeyEvent</A></B>(java.lang.Object o)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#registerMouseEvent(java.lang.Object)">registerMouseEvent</A></B>(java.lang.Object o)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#registerPost(java.lang.Object)">registerPost</A></B>(java.lang.Object o)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#registerPre(java.lang.Object)">registerPre</A></B>(java.lang.Object o)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#registerSize(java.lang.Object)">registerSize</A></B>(java.lang.Object o)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#removeCache(java.lang.Object)">removeCache</A></B>(java.lang.Object parent)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../processing/core/PImage.html" title="class in processing.core">PImage</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#requestImage(java.lang.String)">requestImage</A></B>(java.lang.String filename)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../processing/core/PImage.html" title="class in processing.core">PImage</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#requestImage(java.lang.String, java.lang.String)">requestImage</A></B>(java.lang.String filename, java.lang.String extension)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#resetMatrix()">resetMatrix</A></B>()</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static boolean[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#reverse(boolean[])">reverse</A></B>(boolean[] list)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static byte[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#reverse(byte[])">reverse</A></B>(byte[] list)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static char[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#reverse(char[])">reverse</A></B>(char[] list)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static float[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#reverse(float[])">reverse</A></B>(float[] list)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#reverse(int[])">reverse</A></B>(int[] list)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.lang.Object</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#reverse(java.lang.Object)">reverse</A></B>(java.lang.Object list)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.lang.String[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#reverse(java.lang.String[])">reverse</A></B>(java.lang.String[] list)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#rotate(float)">rotate</A></B>(float angle)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#rotate(float, float, float, float)">rotate</A></B>(float angle, float vx, float vy, float vz)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#rotateX(float)">rotateX</A></B>(float angle)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#rotateY(float)">rotateY</A></B>(float angle)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#rotateZ(float)">rotateZ</A></B>(float angle)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#round(float)">round</A></B>(float what)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#run()">run</A></B>()</CODE> <BR> Main method for the primary animation thread.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> float</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#saturation(int)">saturation</A></B>(int what)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#save(java.lang.String)">save</A></B>(java.lang.String filename)</CODE> <BR> Intercepts any relative paths to make them absolute (relative to the sketch folder) before passing to save() in PImage.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#saveBytes(java.io.File, byte[])">saveBytes</A></B>(java.io.File file, byte[] buffer)</CODE> <BR> Saves bytes to a specific File location specified by the user.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#saveBytes(java.io.OutputStream, byte[])">saveBytes</A></B>(java.io.OutputStream output, byte[] buffer)</CODE> <BR> Spews a buffer of bytes to an OutputStream.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#saveBytes(java.lang.String, byte[])">saveBytes</A></B>(java.lang.String filename, byte[] buffer)</CODE> <BR> Saves bytes to a file to inside the sketch folder.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.io.File</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#saveFile(java.lang.String)">saveFile</A></B>(java.lang.String where)</CODE> <BR> Identical to savePath(), but returns a File object.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#saveFrame()">saveFrame</A></B>()</CODE> <BR> Grab an image of what's currently in the drawing area and save it as a .tif or .tga file.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#saveFrame(java.lang.String)">saveFrame</A></B>(java.lang.String what)</CODE> <BR> Save the current frame as a .tif or .tga image.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#savePath(java.lang.String)">savePath</A></B>(java.lang.String where)</CODE> <BR> Returns a path inside the applet folder to save to.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#saveStream(java.io.File, java.io.InputStream)">saveStream</A></B>(java.io.File targetFile, java.io.InputStream sourceStream)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#saveStream(java.io.File, java.lang.String)">saveStream</A></B>(java.io.File targetFile, java.lang.String sourceLocation)</CODE> <BR> Identical to the other saveStream(), but writes to a File object, for greater control over the file location.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#saveStream(java.lang.String, java.lang.String)">saveStream</A></B>(java.lang.String targetFilename, java.lang.String sourceLocation)</CODE> <BR> Save the contents of a stream to a file in the sketch folder.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#saveStrings(java.io.File, java.lang.String[])">saveStrings</A></B>(java.io.File file, java.lang.String[] strings)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#saveStrings(java.io.OutputStream, java.lang.String[])">saveStrings</A></B>(java.io.OutputStream output, java.lang.String[] strings)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#saveStrings(java.lang.String, java.lang.String[])">saveStrings</A></B>(java.lang.String filename, java.lang.String[] strings)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#scale(float)">scale</A></B>(float s)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#scale(float, float)">scale</A></B>(float sx, float sy)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#scale(float, float, float)">scale</A></B>(float x, float y, float z)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> float</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#screenX(float, float)">screenX</A></B>(float x, float y)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> float</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#screenX(float, float, float)">screenX</A></B>(float x, float y, float z)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> float</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#screenY(float, float)">screenY</A></B>(float x, float y)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> float</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#screenY(float, float, float)">screenY</A></B>(float x, float y, float z)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> float</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#screenZ(float, float, float)">screenZ</A></B>(float x, float y, float z)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#second()">second</A></B>()</CODE> <BR> Seconds position of the current time.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#selectFolder()">selectFolder</A></B>()</CODE> <BR> Open a platform-specific folder chooser dialog.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#selectFolder(java.lang.String)">selectFolder</A></B>(java.lang.String prompt)</CODE> <BR> Open a platform-specific folder chooser dialog.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#selectInput()">selectInput</A></B>()</CODE> <BR> Open a platform-specific file chooser dialog to select a file for input.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#selectInput(java.lang.String)">selectInput</A></B>(java.lang.String prompt)</CODE> <BR> Open a platform-specific file chooser dialog to select a file for input.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#selectOutput()">selectOutput</A></B>()</CODE> <BR> Open a platform-specific file save dialog to select a file for output.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#selectOutput(java.lang.String)">selectOutput</A></B>(java.lang.String prompt)</CODE> <BR> Open a platform-specific file save dialog to select a file for output.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#set(int, int, int)">set</A></B>(int x, int y, int c)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#set(int, int, processing.core.PImage)">set</A></B>(int x, int y, <A HREF="../../processing/core/PImage.html" title="class in processing.core">PImage</A> src)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#setCache(java.lang.Object, java.lang.Object)">setCache</A></B>(java.lang.Object parent, java.lang.Object storage)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#setMatrix(processing.core.PMatrix)">setMatrix</A></B>(<A HREF="../../processing/core/PMatrix.html" title="interface in processing.core">PMatrix</A> source)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#setMatrix(processing.core.PMatrix2D)">setMatrix</A></B>(<A HREF="../../processing/core/PMatrix2D.html" title="class in processing.core">PMatrix2D</A> source)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#setMatrix(processing.core.PMatrix3D)">setMatrix</A></B>(<A HREF="../../processing/core/PMatrix3D.html" title="class in processing.core">PMatrix3D</A> source)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#setup()">setup</A></B>()</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#setupExternalMessages()">setupExternalMessages</A></B>()</CODE> <BR> Set this sketch to communicate its state back to the PDE.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#setupFrameResizeListener()">setupFrameResizeListener</A></B>()</CODE> <BR> Set up a listener that will fire proper component resize events in cases where frame.setResizable(true) is called.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#shape(processing.core.PShape)">shape</A></B>(<A HREF="../../processing/core/PShape.html" title="class in processing.core">PShape</A> shape)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#shape(processing.core.PShape, float, float)">shape</A></B>(<A HREF="../../processing/core/PShape.html" title="class in processing.core">PShape</A> shape, float x, float y)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#shape(processing.core.PShape, float, float, float, float)">shape</A></B>(<A HREF="../../processing/core/PShape.html" title="class in processing.core">PShape</A> shape, float x, float y, float c, float d)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#shapeMode(int)">shapeMode</A></B>(int mode)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#shininess(float)">shininess</A></B>(float shine)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static boolean[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#shorten(boolean[])">shorten</A></B>(boolean[] list)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static byte[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#shorten(byte[])">shorten</A></B>(byte[] list)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static char[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#shorten(char[])">shorten</A></B>(char[] list)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static float[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#shorten(float[])">shorten</A></B>(float[] list)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#shorten(int[])">shorten</A></B>(int[] list)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.lang.Object</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#shorten(java.lang.Object)">shorten</A></B>(java.lang.Object list)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.lang.String[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#shorten(java.lang.String[])">shorten</A></B>(java.lang.String[] list)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static float</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#sin(float)">sin</A></B>(float angle)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#size(int, int)">size</A></B>(int iwidth, int iheight)</CODE> <BR> Starts up and creates a two-dimensional drawing surface, or resizes the current drawing surface.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#size(int, int, java.lang.String)">size</A></B>(int iwidth, int iheight, java.lang.String irenderer)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#size(int, int, java.lang.String, java.lang.String)">size</A></B>(int iwidth, int iheight, java.lang.String irenderer, java.lang.String ipath)</CODE> <BR> Creates a new PGraphics object and sets it to the specified size.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.io.File</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#sketchFile(java.lang.String)">sketchFile</A></B>(java.lang.String where)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#sketchPath(java.lang.String)">sketchPath</A></B>(java.lang.String where)</CODE> <BR> Prepend the sketch folder path to the filename (or path) that is passed in.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#smooth()">smooth</A></B>()</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static byte[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#sort(byte[])">sort</A></B>(byte[] what)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static byte[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#sort(byte[], int)">sort</A></B>(byte[] what, int count)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static char[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#sort(char[])">sort</A></B>(char[] what)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static char[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#sort(char[], int)">sort</A></B>(char[] what, int count)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static float[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#sort(float[])">sort</A></B>(float[] what)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static float[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#sort(float[], int)">sort</A></B>(float[] what, int count)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#sort(int[])">sort</A></B>(int[] what)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#sort(int[], int)">sort</A></B>(int[] what, int count)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.lang.String[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#sort(java.lang.String[])">sort</A></B>(java.lang.String[] what)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.lang.String[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#sort(java.lang.String[], int)">sort</A></B>(java.lang.String[] what, int count)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#specular(float)">specular</A></B>(float gray)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#specular(float, float, float)">specular</A></B>(float x, float y, float z)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#specular(int)">specular</A></B>(int rgb)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#sphere(float)">sphere</A></B>(float r)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#sphereDetail(int)">sphereDetail</A></B>(int res)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#sphereDetail(int, int)">sphereDetail</A></B>(int ures, int vres)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static boolean[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#splice(boolean[], boolean[], int)">splice</A></B>(boolean[] list, boolean[] v, int index)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static boolean[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#splice(boolean[], boolean, int)">splice</A></B>(boolean[] list, boolean v, int index)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static byte[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#splice(byte[], byte[], int)">splice</A></B>(byte[] list, byte[] v, int index)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static byte[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#splice(byte[], byte, int)">splice</A></B>(byte[] list, byte v, int index)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static char[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#splice(char[], char[], int)">splice</A></B>(char[] list, char[] v, int index)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static char[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#splice(char[], char, int)">splice</A></B>(char[] list, char v, int index)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static float[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#splice(float[], float[], int)">splice</A></B>(float[] list, float[] v, int index)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static float[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#splice(float[], float, int)">splice</A></B>(float[] list, float v, int index)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#splice(int[], int[], int)">splice</A></B>(int[] list, int[] v, int index)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#splice(int[], int, int)">splice</A></B>(int[] list, int v, int index)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.lang.Object</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#splice(java.lang.Object, java.lang.Object, int)">splice</A></B>(java.lang.Object list, java.lang.Object v, int index)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.lang.String[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#splice(java.lang.String[], java.lang.String[], int)">splice</A></B>(java.lang.String[] list, java.lang.String[] v, int index)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.lang.String[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#splice(java.lang.String[], java.lang.String, int)">splice</A></B>(java.lang.String[] list, java.lang.String v, int index)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.lang.String[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#split(java.lang.String, char)">split</A></B>(java.lang.String what, char delim)</CODE> <BR> Split a string into pieces along a specific character.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.lang.String[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#split(java.lang.String, java.lang.String)">split</A></B>(java.lang.String what, java.lang.String delim)</CODE> <BR> Split a String on a specific delimiter.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.lang.String[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#splitTokens(java.lang.String)">splitTokens</A></B>(java.lang.String what)</CODE> <BR> Split the provided String at wherever whitespace occurs.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.lang.String[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#splitTokens(java.lang.String, java.lang.String)">splitTokens</A></B>(java.lang.String what, java.lang.String delim)</CODE> <BR> Splits a string into pieces, using any of the chars in the String 'delim' as separator characters.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#spotLight(float, float, float, float, float, float, float, float, float, float, float)">spotLight</A></B>(float red, float green, float blue, float x, float y, float z, float nx, float ny, float nz, float angle, float concentration)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static float</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#sq(float)">sq</A></B>(float a)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static float</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#sqrt(float)">sqrt</A></B>(float a)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#start()">start</A></B>()</CODE> <BR> Called by the browser or applet viewer to inform this applet that it should start its execution.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#status(java.lang.String)">status</A></B>(java.lang.String what)</CODE> <BR> Show status in the status bar of a web browser, or in the System.out console.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#stop()">stop</A></B>()</CODE> <BR> Called by the browser or applet viewer to inform this applet that it should stop its execution.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#str(boolean)">str</A></B>(boolean x)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.lang.String[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#str(boolean[])">str</A></B>(boolean[] x)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#str(byte)">str</A></B>(byte x)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.lang.String[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#str(byte[])">str</A></B>(byte[] x)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#str(char)">str</A></B>(char x)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.lang.String[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#str(char[])">str</A></B>(char[] x)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#str(float)">str</A></B>(float x)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.lang.String[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#str(float[])">str</A></B>(float[] x)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#str(int)">str</A></B>(int x)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.lang.String[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#str(int[])">str</A></B>(int[] x)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#stroke(float)">stroke</A></B>(float gray)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#stroke(float, float)">stroke</A></B>(float gray, float alpha)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#stroke(float, float, float)">stroke</A></B>(float x, float y, float z)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#stroke(float, float, float, float)">stroke</A></B>(float x, float y, float z, float a)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#stroke(int)">stroke</A></B>(int rgb)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#stroke(int, float)">stroke</A></B>(int rgb, float alpha)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#strokeCap(int)">strokeCap</A></B>(int cap)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#strokeJoin(int)">strokeJoin</A></B>(int join)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#strokeWeight(float)">strokeWeight</A></B>(float weight)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#style(processing.core.PStyle)">style</A></B>(<A HREF="../../processing/core/PStyle.html" title="class in processing.core">PStyle</A> s)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static boolean[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#subset(boolean[], int)">subset</A></B>(boolean[] list, int start)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static boolean[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#subset(boolean[], int, int)">subset</A></B>(boolean[] list, int start, int count)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static byte[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#subset(byte[], int)">subset</A></B>(byte[] list, int start)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static byte[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#subset(byte[], int, int)">subset</A></B>(byte[] list, int start, int count)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static char[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#subset(char[], int)">subset</A></B>(char[] list, int start)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static char[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#subset(char[], int, int)">subset</A></B>(char[] list, int start, int count)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static float[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#subset(float[], int)">subset</A></B>(float[] list, int start)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static float[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#subset(float[], int, int)">subset</A></B>(float[] list, int start, int count)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#subset(int[], int)">subset</A></B>(int[] list, int start)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#subset(int[], int, int)">subset</A></B>(int[] list, int start, int count)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.lang.Object</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#subset(java.lang.Object, int)">subset</A></B>(java.lang.Object list, int start)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.lang.Object</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#subset(java.lang.Object, int, int)">subset</A></B>(java.lang.Object list, int start, int count)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.lang.String[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#subset(java.lang.String[], int)">subset</A></B>(java.lang.String[] list, int start)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.lang.String[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#subset(java.lang.String[], int, int)">subset</A></B>(java.lang.String[] list, int start, int count)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static float</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#tan(float)">tan</A></B>(float angle)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#text(char)">text</A></B>(char c)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#text(char[], int, int, float, float)">text</A></B>(char[] chars, int start, int stop, float x, float y)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#text(char[], int, int, float, float, float)">text</A></B>(char[] chars, int start, int stop, float x, float y, float z)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#text(char, float, float)">text</A></B>(char c, float x, float y)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#text(char, float, float, float)">text</A></B>(char c, float x, float y, float z)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#text(float, float, float)">text</A></B>(float num, float x, float y)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#text(float, float, float, float)">text</A></B>(float num, float x, float y, float z)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#text(int, float, float)">text</A></B>(int num, float x, float y)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#text(int, float, float, float)">text</A></B>(int num, float x, float y, float z)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#text(java.lang.String)">text</A></B>(java.lang.String str)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#text(java.lang.String, float, float)">text</A></B>(java.lang.String str, float x, float y)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#text(java.lang.String, float, float, float)">text</A></B>(java.lang.String str, float x, float y, float z)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#text(java.lang.String, float, float, float, float)">text</A></B>(java.lang.String str, float x1, float y1, float x2, float y2)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#text(java.lang.String, float, float, float, float, float)">text</A></B>(java.lang.String s, float x1, float y1, float x2, float y2, float z)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#textAlign(int)">textAlign</A></B>(int align)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#textAlign(int, int)">textAlign</A></B>(int alignX, int alignY)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> float</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#textAscent()">textAscent</A></B>()</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> float</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#textDescent()">textDescent</A></B>()</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#textFont(processing.core.PFont)">textFont</A></B>(<A HREF="../../processing/core/PFont.html" title="class in processing.core">PFont</A> which)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#textFont(processing.core.PFont, float)">textFont</A></B>(<A HREF="../../processing/core/PFont.html" title="class in processing.core">PFont</A> which, float size)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#textLeading(float)">textLeading</A></B>(float leading)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#textMode(int)">textMode</A></B>(int mode)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#textSize(float)">textSize</A></B>(float size)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#texture(processing.core.PImage)">texture</A></B>(<A HREF="../../processing/core/PImage.html" title="class in processing.core">PImage</A> image)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#textureMode(int)">textureMode</A></B>(int mode)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> float</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#textWidth(char)">textWidth</A></B>(char c)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> float</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#textWidth(java.lang.String)">textWidth</A></B>(java.lang.String str)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#tint(float)">tint</A></B>(float gray)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#tint(float, float)">tint</A></B>(float gray, float alpha)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#tint(float, float, float)">tint</A></B>(float x, float y, float z)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#tint(float, float, float, float)">tint</A></B>(float x, float y, float z, float a)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#tint(int)">tint</A></B>(int rgb)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#tint(int, float)">tint</A></B>(int rgb, float alpha)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#translate(float, float)">translate</A></B>(float tx, float ty)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#translate(float, float, float)">translate</A></B>(float tx, float ty, float tz)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#triangle(float, float, float, float, float, float)">triangle</A></B>(float x1, float y1, float x2, float y2, float x3, float y3)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#trim(java.lang.String)">trim</A></B>(java.lang.String str)</CODE> <BR> Remove whitespace characters from the beginning and ending of a String.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.lang.String[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#trim(java.lang.String[])">trim</A></B>(java.lang.String[] array)</CODE> <BR> Trim the whitespace from a String array.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#unbinary(java.lang.String)">unbinary</A></B>(java.lang.String what)</CODE> <BR> Unpack a binary String into an int.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#unhex(java.lang.String)">unhex</A></B>(java.lang.String what)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#unregisterDispose(java.lang.Object)">unregisterDispose</A></B>(java.lang.Object o)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#unregisterDraw(java.lang.Object)">unregisterDraw</A></B>(java.lang.Object o)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#unregisterKeyEvent(java.lang.Object)">unregisterKeyEvent</A></B>(java.lang.Object o)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#unregisterMouseEvent(java.lang.Object)">unregisterMouseEvent</A></B>(java.lang.Object o)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#unregisterPost(java.lang.Object)">unregisterPost</A></B>(java.lang.Object o)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#unregisterPre(java.lang.Object)">unregisterPre</A></B>(java.lang.Object o)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#unregisterSize(java.lang.Object)">unregisterSize</A></B>(java.lang.Object o)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#update(java.awt.Graphics)">update</A></B>(java.awt.Graphics screen)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#updatePixels()">updatePixels</A></B>()</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#updatePixels(int, int, int, int)">updatePixels</A></B>(int x1, int y1, int x2, int y2)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#vertex(float[])">vertex</A></B>(float[] v)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#vertex(float, float)">vertex</A></B>(float x, float y)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#vertex(float, float, float)">vertex</A></B>(float x, float y, float z)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#vertex(float, float, float, float)">vertex</A></B>(float x, float y, float u, float v)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#vertex(float, float, float, float, float)">vertex</A></B>(float x, float y, float z, float u, float v)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../processing/core/PApplet.html#year()">year</A></B>()</CODE> <BR> Get the current year.</TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_java.applet.Applet"><!-- --></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.applet.Applet</B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE>getAccessibleContext, getAppletContext, getAppletInfo, getAudioClip, getAudioClip, getCodeBase, getDocumentBase, getImage, getImage, getLocale, getParameter, getParameterInfo, isActive, newAudioClip, play, play, resize, resize, setStub, showStatus</CODE></TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_java.awt.Panel"><!-- --></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.awt.Panel</B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE>addNotify</CODE></TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_java.awt.Container"><!-- --></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.awt.Container</B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE>add, add, add, add, add, addContainerListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getInsets, getLayout, getListeners, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, print, printComponents, remove, remove, removeAll, removeContainerListener, removeNotify, setComponentZOrder, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, setLayout, transferFocusBackward, transferFocusDownCycle, validate</CODE></TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_java.awt.Component"><!-- --></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.awt.Component</B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE>action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, dispatchEvent, enable, enable, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, printAll, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocusInWindow, reshape, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setMinimumSize, setName, setPreferredSize, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusUpCycle</CODE></TD> </TR> </TABLE> <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>equals, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD> </TR> </TABLE> <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="javaVersionName"><!-- --></A><H3> javaVersionName</H3> <PRE> public static final java.lang.String <B>javaVersionName</B></PRE> <DL> <DD>Full name of the Java version (i.e. 1.5.0_11). Prior to 0125, this was only the first three digits. <P> <DL> </DL> </DL> <HR> <A NAME="javaVersion"><!-- --></A><H3> javaVersion</H3> <PRE> public static final float <B>javaVersion</B></PRE> <DL> <DD>Version of Java that's in use, whether 1.1 or 1.3 or whatever, stored as a float. <P> Note that because this is stored as a float, the values may not be <EM>exactly</EM> 1.3 or 1.4. Instead, make sure you're comparing against 1.3f or 1.4f, which will have the same amount of error (i.e. 1.40000001). This could just be a double, but since Processing only uses floats, it's safer for this to be a float because there's no good way to specify a double with the preproc. <P> <DL> </DL> </DL> <HR> <A NAME="platform"><!-- --></A><H3> platform</H3> <PRE> public static int <B>platform</B></PRE> <DL> <DD>Current platform in use, one of the PConstants WINDOWS, MACOSX, MACOS9, LINUX or OTHER. <P> <DL> </DL> </DL> <HR> <A NAME="MENU_SHORTCUT"><!-- --></A><H3> MENU_SHORTCUT</H3> <PRE> public static final int <B>MENU_SHORTCUT</B></PRE> <DL> <DD>Modifier flags for the shortcut key used to trigger menus. (Cmd on Mac OS X, Ctrl on Linux and Windows) <P> <DL> </DL> </DL> <HR> <A NAME="g"><!-- --></A><H3> g</H3> <PRE> public <A HREF="../../processing/core/PGraphics.html" title="class in processing.core">PGraphics</A> <B>g</B></PRE> <DL> <DD>The PGraphics renderer associated with this PApplet <P> <DL> </DL> </DL> <HR> <A NAME="frame"><!-- --></A><H3> frame</H3> <PRE> public java.awt.Frame <B>frame</B></PRE> <DL> <DD>The frame containing this applet (if any) <P> <DL> </DL> </DL> <HR> <A NAME="screen"><!-- --></A><H3> screen</H3> <PRE> public java.awt.Dimension <B>screen</B></PRE> <DL> <DD>The screen size when the applet was started. <P> Access this via screen.width and screen.height. To make an applet run at full screen, use size(screen.width, screen.height). <P> If you have multiple displays, this will be the size of the main display. Running full screen across multiple displays isn't particularly supported, and requires more monkeying with the values. This probably can't/won't be fixed until/unless I get a dual head system. <P> Note that this won't update if you change the resolution of your screen once the the applet is running. <p> This variable is not static, because future releases need to be better at handling multiple displays. <P> <DL> </DL> </DL> <HR> <A NAME="recorder"><!-- --></A><H3> recorder</H3> <PRE> public <A HREF="../../processing/core/PGraphics.html" title="class in processing.core">PGraphics</A> <B>recorder</B></PRE> <DL> <DD>A leech graphics object that is echoing all events. <P> <DL> </DL> </DL> <HR> <A NAME="args"><!-- --></A><H3> args</H3> <PRE> public java.lang.String[] <B>args</B></PRE> <DL> <DD>Command line options passed in from main(). <P> This does not include the arguments passed in to PApplet itself. <P> <DL> </DL> </DL> <HR> <A NAME="sketchPath"><!-- --></A><H3> sketchPath</H3> <PRE> public java.lang.String <B>sketchPath</B></PRE> <DL> <DD>Path to sketch folder <P> <DL> </DL> </DL> <HR> <A NAME="DEFAULT_WIDTH"><!-- --></A><H3> DEFAULT_WIDTH</H3> <PRE> public static final int <B>DEFAULT_WIDTH</B></PRE> <DL> <DD>Default width and height for applet when not specified <P> <DL> <DT><B>See Also:</B><DD><A HREF="../../constant-values.html#processing.core.PApplet.DEFAULT_WIDTH">Constant Field Values</A></DL> </DL> <HR> <A NAME="DEFAULT_HEIGHT"><!-- --></A><H3> DEFAULT_HEIGHT</H3> <PRE> public static final int <B>DEFAULT_HEIGHT</B></PRE> <DL> <DL> <DT><B>See Also:</B><DD><A HREF="../../constant-values.html#processing.core.PApplet.DEFAULT_HEIGHT">Constant Field Values</A></DL> </DL> <HR> <A NAME="MIN_WINDOW_WIDTH"><!-- --></A><H3> MIN_WINDOW_WIDTH</H3> <PRE> public static final int <B>MIN_WINDOW_WIDTH</B></PRE> <DL> <DD>Minimum dimensions for the window holding an applet. This varies between platforms, Mac OS X 10.3 can do any height but requires at least 128 pixels width. Windows XP has another set of limitations. And for all I know, Linux probably lets you make windows with negative sizes. <P> <DL> <DT><B>See Also:</B><DD><A HREF="../../constant-values.html#processing.core.PApplet.MIN_WINDOW_WIDTH">Constant Field Values</A></DL> </DL> <HR> <A NAME="MIN_WINDOW_HEIGHT"><!-- --></A><H3> MIN_WINDOW_HEIGHT</H3> <PRE> public static final int <B>MIN_WINDOW_HEIGHT</B></PRE> <DL> <DL> <DT><B>See Also:</B><DD><A HREF="../../constant-values.html#processing.core.PApplet.MIN_WINDOW_HEIGHT">Constant Field Values</A></DL> </DL> <HR> <A NAME="defaultSize"><!-- --></A><H3> defaultSize</H3> <PRE> public boolean <B>defaultSize</B></PRE> <DL> <DD>true if no size() command has been executed. This is used to wait until a size has been set before placing in the window and showing it. <P> <DL> </DL> </DL> <HR> <A NAME="pixels"><!-- --></A><H3> pixels</H3> <PRE> public int[] <B>pixels</B></PRE> <DL> <DD>Pixel buffer from this applet's PGraphics. <P> When used with OpenGL or Java2D, this value will be null until loadPixels() has been called. <P> <DL> </DL> </DL> <HR> <A NAME="width"><!-- --></A><H3> width</H3> <PRE> public int <B>width</B></PRE> <DL> <DD>width of this applet's associated PGraphics <P> <DL> </DL> </DL> <HR> <A NAME="height"><!-- --></A><H3> height</H3> <PRE> public int <B>height</B></PRE> <DL> <DD>height of this applet's associated PGraphics <P> <DL> </DL> </DL> <HR> <A NAME="mouseX"><!-- --></A><H3> mouseX</H3> <PRE> public int <B>mouseX</B></PRE> <DL> <DD>current x position of the mouse <P> <DL> </DL> </DL> <HR> <A NAME="mouseY"><!-- --></A><H3> mouseY</H3> <PRE> public int <B>mouseY</B></PRE> <DL> <DD>current y position of the mouse <P> <DL> </DL> </DL> <HR> <A NAME="pmouseX"><!-- --></A><H3> pmouseX</H3> <PRE> public int <B>pmouseX</B></PRE> <DL> <DD>Previous x/y position of the mouse. This will be a different value when inside a mouse handler (like the mouseMoved() method) versus when inside draw(). Inside draw(), pmouseX is updated once each frame, but inside mousePressed() and friends, it's updated each time an event comes through. Be sure to use only one or the other type of means for tracking pmouseX and pmouseY within your sketch, otherwise you're gonna run into trouble. <P> <DL> </DL> </DL> <HR> <A NAME="pmouseY"><!-- --></A><H3> pmouseY</H3> <PRE> public int <B>pmouseY</B></PRE> <DL> <DD>Previous x/y position of the mouse. This will be a different value when inside a mouse handler (like the mouseMoved() method) versus when inside draw(). Inside draw(), pmouseX is updated once each frame, but inside mousePressed() and friends, it's updated each time an event comes through. Be sure to use only one or the other type of means for tracking pmouseX and pmouseY within your sketch, otherwise you're gonna run into trouble. <P> <DL> </DL> </DL> <HR> <A NAME="firstMouse"><!-- --></A><H3> firstMouse</H3> <PRE> public boolean <B>firstMouse</B></PRE> <DL> <DD>Used to set pmouseX/Y to mouseX/Y the first time mouseX/Y are used, otherwise pmouseX/Y are always zero, causing a nasty jump. <P> Just using (frameCount == 0) won't work since mouseXxxxx() may not be called until a couple frames into things. <P> <DL> </DL> </DL> <HR> <A NAME="mouseButton"><!-- --></A><H3> mouseButton</H3> <PRE> public int <B>mouseButton</B></PRE> <DL> <DD>Last mouse button pressed, one of LEFT, CENTER, or RIGHT. <P> If running on Mac OS, a ctrl-click will be interpreted as the righthand mouse button (unlike Java, which reports it as the left mouse). <P> <DL> </DL> </DL> <HR> <A NAME="mousePressed"><!-- --></A><H3> mousePressed</H3> <PRE> public boolean <B>mousePressed</B></PRE> <DL> <DL> </DL> </DL> <HR> <A NAME="mouseEvent"><!-- --></A><H3> mouseEvent</H3> <PRE> public java.awt.event.MouseEvent <B>mouseEvent</B></PRE> <DL> <DL> </DL> </DL> <HR> <A NAME="key"><!-- --></A><H3> key</H3> <PRE> public char <B>key</B></PRE> <DL> <DD>Last key pressed. <P> If it's a coded key, i.e. UP/DOWN/CTRL/SHIFT/ALT, this will be set to CODED (0xffff or 65535). <P> <DL> </DL> </DL> <HR> <A NAME="keyCode"><!-- --></A><H3> keyCode</H3> <PRE> public int <B>keyCode</B></PRE> <DL> <DD>When "key" is set to CODED, this will contain a Java key code. <P> For the arrow keys, keyCode will be one of UP, DOWN, LEFT and RIGHT. Also available are ALT, CONTROL and SHIFT. A full set of constants can be obtained from java.awt.event.KeyEvent, from the VK_XXXX variables. <P> <DL> </DL> </DL> <HR> <A NAME="keyPressed"><!-- --></A><H3> keyPressed</H3> <PRE> public boolean <B>keyPressed</B></PRE> <DL> <DD>true if the mouse is currently pressed. <P> <DL> </DL> </DL> <HR> <A NAME="keyEvent"><!-- --></A><H3> keyEvent</H3> <PRE> public java.awt.event.KeyEvent <B>keyEvent</B></PRE> <DL> <DD>the last KeyEvent object passed into a mouse function. <P> <DL> </DL> </DL> <HR> <A NAME="focused"><!-- --></A><H3> focused</H3> <PRE> public boolean <B>focused</B></PRE> <DL> <DD>Gets set to true/false as the applet gains/loses focus. <P> <DL> </DL> </DL> <HR> <A NAME="online"><!-- --></A><H3> online</H3> <PRE> public boolean <B>online</B></PRE> <DL> <DD>true if the applet is online. <P> This can be used to test how the applet should behave since online situations are different (no file writing, etc). <P> <DL> </DL> </DL> <HR> <A NAME="frameRate"><!-- --></A><H3> frameRate</H3> <PRE> public float <B>frameRate</B></PRE> <DL> <DD>The current value of frames per second. <P> The initial value will be 10 fps, and will be updated with each frame thereafter. The value is not instantaneous (since that wouldn't be very useful since it would jump around so much), but is instead averaged (integrated) over several frames. As such, this value won't be valid until after 5-10 frames. <P> <DL> </DL> </DL> <HR> <A NAME="frameCount"><!-- --></A><H3> frameCount</H3> <PRE> public int <B>frameCount</B></PRE> <DL> <DD>How many frames have been displayed since the applet started. <P> This value is read-only <EM>do not</EM> attempt to set it, otherwise bad things will happen. <P> Inside setup(), frameCount is 0. For the first iteration of draw(), frameCount will equal 1. <P> <DL> </DL> </DL> <HR> <A NAME="finished"><!-- --></A><H3> finished</H3> <PRE> public boolean <B>finished</B></PRE> <DL> <DD>true if this applet has had it. <P> <DL> </DL> </DL> <HR> <A NAME="ARGS_EDITOR_LOCATION"><!-- --></A><H3> ARGS_EDITOR_LOCATION</H3> <PRE> public static final java.lang.String <B>ARGS_EDITOR_LOCATION</B></PRE> <DL> <DD>Position of the upper-lefthand corner of the editor window that launched this applet. <P> <DL> <DT><B>See Also:</B><DD><A HREF="../../constant-values.html#processing.core.PApplet.ARGS_EDITOR_LOCATION">Constant Field Values</A></DL> </DL> <HR> <A NAME="ARGS_EXTERNAL"><!-- --></A><H3> ARGS_EXTERNAL</H3> <PRE> public static final java.lang.String <B>ARGS_EXTERNAL</B></PRE> <DL> <DD>Location for where to position the applet window on screen. <P> This is used by the editor to when saving the previous applet location, or could be used by other classes to launch at a specific position on-screen. <P> <DL> <DT><B>See Also:</B><DD><A HREF="../../constant-values.html#processing.core.PApplet.ARGS_EXTERNAL">Constant Field Values</A></DL> </DL> <HR> <A NAME="ARGS_LOCATION"><!-- --></A><H3> ARGS_LOCATION</H3> <PRE> public static final java.lang.String <B>ARGS_LOCATION</B></PRE> <DL> <DL> <DT><B>See Also:</B><DD><A HREF="../../constant-values.html#processing.core.PApplet.ARGS_LOCATION">Constant Field Values</A></DL> </DL> <HR> <A NAME="ARGS_DISPLAY"><!-- --></A><H3> ARGS_DISPLAY</H3> <PRE> public static final java.lang.String <B>ARGS_DISPLAY</B></PRE> <DL> <DL> <DT><B>See Also:</B><DD><A HREF="../../constant-values.html#processing.core.PApplet.ARGS_DISPLAY">Constant Field Values</A></DL> </DL> <HR> <A NAME="ARGS_BGCOLOR"><!-- --></A><H3> ARGS_BGCOLOR</H3> <PRE> public static final java.lang.String <B>ARGS_BGCOLOR</B></PRE> <DL> <DL> <DT><B>See Also:</B><DD><A HREF="../../constant-values.html#processing.core.PApplet.ARGS_BGCOLOR">Constant Field Values</A></DL> </DL> <HR> <A NAME="ARGS_PRESENT"><!-- --></A><H3> ARGS_PRESENT</H3> <PRE> public static final java.lang.String <B>ARGS_PRESENT</B></PRE> <DL> <DL> <DT><B>See Also:</B><DD><A HREF="../../constant-values.html#processing.core.PApplet.ARGS_PRESENT">Constant Field Values</A></DL> </DL> <HR> <A NAME="ARGS_EXCLUSIVE"><!-- --></A><H3> ARGS_EXCLUSIVE</H3> <PRE> public static final java.lang.String <B>ARGS_EXCLUSIVE</B></PRE> <DL> <DL> <DT><B>See Also:</B><DD><A HREF="../../constant-values.html#processing.core.PApplet.ARGS_EXCLUSIVE">Constant Field Values</A></DL> </DL> <HR> <A NAME="ARGS_STOP_COLOR"><!-- --></A><H3> ARGS_STOP_COLOR</H3> <PRE> public static final java.lang.String <B>ARGS_STOP_COLOR</B></PRE> <DL> <DL> <DT><B>See Also:</B><DD><A HREF="../../constant-values.html#processing.core.PApplet.ARGS_STOP_COLOR">Constant Field Values</A></DL> </DL> <HR> <A NAME="ARGS_HIDE_STOP"><!-- --></A><H3> ARGS_HIDE_STOP</H3> <PRE> public static final java.lang.String <B>ARGS_HIDE_STOP</B></PRE> <DL> <DL> <DT><B>See Also:</B><DD><A HREF="../../constant-values.html#processing.core.PApplet.ARGS_HIDE_STOP">Constant Field Values</A></DL> </DL> <HR> <A NAME="ARGS_SKETCH_FOLDER"><!-- --></A><H3> ARGS_SKETCH_FOLDER</H3> <PRE> public static final java.lang.String <B>ARGS_SKETCH_FOLDER</B></PRE> <DL> <DD>Allows the user or PdeEditor to set a specific sketch folder path. <P> Used by PdeEditor to pass in the location where saveFrame() and all that stuff should write things. <P> <DL> <DT><B>See Also:</B><DD><A HREF="../../constant-values.html#processing.core.PApplet.ARGS_SKETCH_FOLDER">Constant Field Values</A></DL> </DL> <HR> <A NAME="EXTERNAL_STOP"><!-- --></A><H3> EXTERNAL_STOP</H3> <PRE> public static final java.lang.String <B>EXTERNAL_STOP</B></PRE> <DL> <DD>When run externally to a PdeEditor, this is sent by the applet when it quits. <P> <DL> <DT><B>See Also:</B><DD><A HREF="../../constant-values.html#processing.core.PApplet.EXTERNAL_STOP">Constant Field Values</A></DL> </DL> <HR> <A NAME="EXTERNAL_MOVE"><!-- --></A><H3> EXTERNAL_MOVE</H3> <PRE> public static final java.lang.String <B>EXTERNAL_MOVE</B></PRE> <DL> <DD>When run externally to a PDE Editor, this is sent by the applet whenever the window is moved. <P> This is used so that the editor can re-open the sketch window in the same position as the user last left it. <P> <DL> <DT><B>See Also:</B><DD><A HREF="../../constant-values.html#processing.core.PApplet.EXTERNAL_MOVE">Constant Field Values</A></DL> </DL> <HR> <A NAME="requestImageMax"><!-- --></A><H3> requestImageMax</H3> <PRE> public int <B>requestImageMax</B></PRE> <DL> <DD>By trial and error, four image loading threads seem to work best when loading images from online. This is consistent with the number of open connections that web browsers will maintain. The variable is made public (however no accessor has been added since it's esoteric) if you really want to have control over the value used. For instance, when loading local files, it might be better to only have a single thread (or two) loading images so that you're disk isn't simply jumping around. <P> <DL> </DL> </DL> <HR> <A NAME="selectedFile"><!-- --></A><H3> selectedFile</H3> <PRE> public java.io.File <B>selectedFile</B></PRE> <DL> <DL> </DL> </DL> <HR> <A NAME="ICON_IMAGE"><!-- --></A><H3> ICON_IMAGE</H3> <PRE> public static final byte[] <B>ICON_IMAGE</B></PRE> <DL> <DD>GIF image of the Processing logo. <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="PApplet()"><!-- --></A><H3> PApplet</H3> <PRE> public <B>PApplet</B>()</PRE> <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="init()"><!-- --></A><H3> init</H3> <PRE> public void <B>init</B>()</PRE> <DL> <DD><DL> <DT><B>Overrides:</B><DD><CODE>init</CODE> in class <CODE>java.applet.Applet</CODE></DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="getSketchWidth()"><!-- --></A><H3> getSketchWidth</H3> <PRE> public int <B>getSketchWidth</B>()</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="getSketchHeight()"><!-- --></A><H3> getSketchHeight</H3> <PRE> public int <B>getSketchHeight</B>()</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="getSketchRenderer()"><!-- --></A><H3> getSketchRenderer</H3> <PRE> public java.lang.String <B>getSketchRenderer</B>()</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="start()"><!-- --></A><H3> start</H3> <PRE> public void <B>start</B>()</PRE> <DL> <DD>Called by the browser or applet viewer to inform this applet that it should start its execution. It is called after the init method and each time the applet is revisited in a Web page. <p/> Called explicitly via the first call to PApplet.paint(), because PAppletGL needs to have a usable screen before getting things rolling. <P> <DD><DL> <DT><B>Overrides:</B><DD><CODE>start</CODE> in class <CODE>java.applet.Applet</CODE></DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="stop()"><!-- --></A><H3> stop</H3> <PRE> public void <B>stop</B>()</PRE> <DL> <DD>Called by the browser or applet viewer to inform this applet that it should stop its execution. <p/> Unfortunately, there are no guarantees from the Java spec when or if stop() will be called (i.e. on browser quit, or when moving between web pages), and it's not always called. <P> <DD><DL> <DT><B>Overrides:</B><DD><CODE>stop</CODE> in class <CODE>java.applet.Applet</CODE></DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="destroy()"><!-- --></A><H3> destroy</H3> <PRE> public void <B>destroy</B>()</PRE> <DL> <DD>Called by the browser or applet viewer to inform this applet that it is being reclaimed and that it should destroy any resources that it has allocated. <p/> This also attempts to call PApplet.stop(), in case there was an inadvertent override of the stop() function by a user. <p/> destroy() supposedly gets called as the applet viewer is shutting down the applet. stop() is called first, and then destroy() to really get rid of things. no guarantees on when they're run (on browser quit, or when moving between pages), though. <P> <DD><DL> <DT><B>Overrides:</B><DD><CODE>destroy</CODE> in class <CODE>java.applet.Applet</CODE></DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="registerSize(java.lang.Object)"><!-- --></A><H3> registerSize</H3> <PRE> public void <B>registerSize</B>(java.lang.Object o)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="registerPre(java.lang.Object)"><!-- --></A><H3> registerPre</H3> <PRE> public void <B>registerPre</B>(java.lang.Object o)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="registerDraw(java.lang.Object)"><!-- --></A><H3> registerDraw</H3> <PRE> public void <B>registerDraw</B>(java.lang.Object o)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="registerPost(java.lang.Object)"><!-- --></A><H3> registerPost</H3> <PRE> public void <B>registerPost</B>(java.lang.Object o)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="registerMouseEvent(java.lang.Object)"><!-- --></A><H3> registerMouseEvent</H3> <PRE> public void <B>registerMouseEvent</B>(java.lang.Object o)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="registerKeyEvent(java.lang.Object)"><!-- --></A><H3> registerKeyEvent</H3> <PRE> public void <B>registerKeyEvent</B>(java.lang.Object o)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="registerDispose(java.lang.Object)"><!-- --></A><H3> registerDispose</H3> <PRE> public void <B>registerDispose</B>(java.lang.Object o)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="unregisterSize(java.lang.Object)"><!-- --></A><H3> unregisterSize</H3> <PRE> public void <B>unregisterSize</B>(java.lang.Object o)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="unregisterPre(java.lang.Object)"><!-- --></A><H3> unregisterPre</H3> <PRE> public void <B>unregisterPre</B>(java.lang.Object o)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="unregisterDraw(java.lang.Object)"><!-- --></A><H3> unregisterDraw</H3> <PRE> public void <B>unregisterDraw</B>(java.lang.Object o)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="unregisterPost(java.lang.Object)"><!-- --></A><H3> unregisterPost</H3> <PRE> public void <B>unregisterPost</B>(java.lang.Object o)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="unregisterMouseEvent(java.lang.Object)"><!-- --></A><H3> unregisterMouseEvent</H3> <PRE> public void <B>unregisterMouseEvent</B>(java.lang.Object o)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="unregisterKeyEvent(java.lang.Object)"><!-- --></A><H3> unregisterKeyEvent</H3> <PRE> public void <B>unregisterKeyEvent</B>(java.lang.Object o)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="unregisterDispose(java.lang.Object)"><!-- --></A><H3> unregisterDispose</H3> <PRE> public void <B>unregisterDispose</B>(java.lang.Object o)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="setup()"><!-- --></A><H3> setup</H3> <PRE> public void <B>setup</B>()</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="draw()"><!-- --></A><H3> draw</H3> <PRE> public void <B>draw</B>()</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="size(int, int)"><!-- --></A><H3> size</H3> <PRE> public void <B>size</B>(int iwidth, int iheight)</PRE> <DL> <DD>Starts up and creates a two-dimensional drawing surface, or resizes the current drawing surface. <P> This should be the first thing called inside of setup(). <P> If using Java 1.3 or later, this will default to using PGraphics2, the Java2D-based renderer. If using Java 1.1, or if PGraphics2 is not available, then PGraphics will be used. To set your own renderer, use the other version of the size() method that takes a renderer as its last parameter. <P> If called once a renderer has already been set, this will use the previous renderer and simply resize it. <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="size(int, int, java.lang.String)"><!-- --></A><H3> size</H3> <PRE> public void <B>size</B>(int iwidth, int iheight, java.lang.String irenderer)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="size(int, int, java.lang.String, java.lang.String)"><!-- --></A><H3> size</H3> <PRE> public void <B>size</B>(int iwidth, int iheight, java.lang.String irenderer, java.lang.String ipath)</PRE> <DL> <DD>Creates a new PGraphics object and sets it to the specified size. Note that you cannot change the renderer once outside of setup(). In most cases, you can call size() to give it a new size, but you need to always ask for the same renderer, otherwise you're gonna run into trouble. The size() method should *only* be called from inside the setup() or draw() methods, so that it is properly run on the main animation thread. To change the size of a PApplet externally, use setSize(), which will update the component size, and queue a resize of the renderer as well. <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="createGraphics(int, int, java.lang.String)"><!-- --></A><H3> createGraphics</H3> <PRE> public <A HREF="../../processing/core/PGraphics.html" title="class in processing.core">PGraphics</A> <B>createGraphics</B>(int iwidth, int iheight, java.lang.String irenderer)</PRE> <DL> <DD>Create an offscreen PGraphics object for drawing. This can be used for bitmap or vector images drawing or rendering. <UL> <LI>Do not use "new PGraphicsXxxx()", use this method. This method ensures that internal variables are set up properly that tie the new graphics context back to its parent PApplet. <LI>The basic way to create bitmap images is to use the <A HREF="http://processing.org/reference/saveFrame_.html">saveFrame()</A> function. <LI>If you want to create a really large scene and write that, first make sure that you've allocated a lot of memory in the Preferences. <LI>If you want to create images that are larger than the screen, you should create your own PGraphics object, draw to that, and use <A HREF="http://processing.org/reference/save_.html">save()</A>. For now, it's best to use <A HREF="http://dev.processing.org/reference/everything/javadoc/processing/core/PGraphics3D.html">P3D</A> in this scenario. P2D is currently disabled, and the JAVA2D default will give mixed results. An example of using P3D: <PRE> PGraphics big; void setup() { big = createGraphics(3000, 3000, P3D); big.beginDraw(); big.background(128); big.line(20, 1800, 1800, 900); // etc.. big.endDraw(); // make sure the file is written to the sketch folder big.save("big.tif"); } </PRE> <LI>It's important to always wrap drawing to createGraphics() with beginDraw() and endDraw() (beginFrame() and endFrame() prior to revision 0115). The reason is that the renderer needs to know when drawing has stopped, so that it can update itself internally. This also handles calling the defaults() method, for people familiar with that. <LI>It's not possible to use createGraphics() with the OPENGL renderer, because it doesn't allow offscreen use. <LI>With Processing 0115 and later, it's possible to write images in formats other than the default .tga and .tiff. The exact formats and background information can be found in the developer's reference for <A HREF="http://dev.processing.org/reference/core/javadoc/processing/core/PImage.html#save(java.lang.String)">PImage.save()</A>. </UL> <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="createGraphics(int, int, java.lang.String, java.lang.String)"><!-- --></A><H3> createGraphics</H3> <PRE> public <A HREF="../../processing/core/PGraphics.html" title="class in processing.core">PGraphics</A> <B>createGraphics</B>(int iwidth, int iheight, java.lang.String irenderer, java.lang.String ipath)</PRE> <DL> <DD>Create an offscreen graphics surface for drawing, in this case for a renderer that writes to a file (such as PDF or DXF). <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>ipath</CODE> - can be an absolute or relative path</DL> </DD> </DL> <HR> <A NAME="createImage(int, int, int)"><!-- --></A><H3> createImage</H3> <PRE> public <A HREF="../../processing/core/PImage.html" title="class in processing.core">PImage</A> <B>createImage</B>(int wide, int high, int format)</PRE> <DL> <DD>Preferred method of creating new PImage objects, ensures that a reference to the parent PApplet is included, which makes save() work without needing an absolute path. <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="update(java.awt.Graphics)"><!-- --></A><H3> update</H3> <PRE> public void <B>update</B>(java.awt.Graphics screen)</PRE> <DL> <DD><DL> <DT><B>Overrides:</B><DD><CODE>update</CODE> in class <CODE>java.awt.Container</CODE></DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="paint(java.awt.Graphics)"><!-- --></A><H3> paint</H3> <PRE> public void <B>paint</B>(java.awt.Graphics screen)</PRE> <DL> <DD><DL> <DT><B>Overrides:</B><DD><CODE>paint</CODE> in class <CODE>java.awt.Container</CODE></DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="run()"><!-- --></A><H3> run</H3> <PRE> public void <B>run</B>()</PRE> <DL> <DD>Main method for the primary animation thread. <A HREF="http://java.sun.com/products/jfc/tsc/articles/painting/">Painting in AWT and Swing</A> <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE>run</CODE> in interface <CODE>java.lang.Runnable</CODE></DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="handleDraw()"><!-- --></A><H3> handleDraw</H3> <PRE> public void <B>handleDraw</B>()</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="redraw()"><!-- --></A><H3> redraw</H3> <PRE> public void <B>redraw</B>()</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="loop()"><!-- --></A><H3> loop</H3> <PRE> public void <B>loop</B>()</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="noLoop()"><!-- --></A><H3> noLoop</H3> <PRE> public void <B>noLoop</B>()</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="addListeners()"><!-- --></A><H3> addListeners</H3> <PRE> public void <B>addListeners</B>()</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="mousePressed(java.awt.event.MouseEvent)"><!-- --></A><H3> mousePressed</H3> <PRE> public void <B>mousePressed</B>(java.awt.event.MouseEvent e)</PRE> <DL> <DD>If you override this or any function that takes a "MouseEvent e" without calling its super.mouseXxxx() then mouseX, mouseY, mousePressed, and mouseEvent will no longer be set. <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE>mousePressed</CODE> in interface <CODE>java.awt.event.MouseListener</CODE></DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="mouseReleased(java.awt.event.MouseEvent)"><!-- --></A><H3> mouseReleased</H3> <PRE> public void <B>mouseReleased</B>(java.awt.event.MouseEvent e)</PRE> <DL> <DD><DL> <DT><B>Specified by:</B><DD><CODE>mouseReleased</CODE> in interface <CODE>java.awt.event.MouseListener</CODE></DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="mouseClicked(java.awt.event.MouseEvent)"><!-- --></A><H3> mouseClicked</H3> <PRE> public void <B>mouseClicked</B>(java.awt.event.MouseEvent e)</PRE> <DL> <DD><DL> <DT><B>Specified by:</B><DD><CODE>mouseClicked</CODE> in interface <CODE>java.awt.event.MouseListener</CODE></DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="mouseEntered(java.awt.event.MouseEvent)"><!-- --></A><H3> mouseEntered</H3> <PRE> public void <B>mouseEntered</B>(java.awt.event.MouseEvent e)</PRE> <DL> <DD><DL> <DT><B>Specified by:</B><DD><CODE>mouseEntered</CODE> in interface <CODE>java.awt.event.MouseListener</CODE></DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="mouseExited(java.awt.event.MouseEvent)"><!-- --></A><H3> mouseExited</H3> <PRE> public void <B>mouseExited</B>(java.awt.event.MouseEvent e)</PRE> <DL> <DD><DL> <DT><B>Specified by:</B><DD><CODE>mouseExited</CODE> in interface <CODE>java.awt.event.MouseListener</CODE></DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="mouseDragged(java.awt.event.MouseEvent)"><!-- --></A><H3> mouseDragged</H3> <PRE> public void <B>mouseDragged</B>(java.awt.event.MouseEvent e)</PRE> <DL> <DD><DL> <DT><B>Specified by:</B><DD><CODE>mouseDragged</CODE> in interface <CODE>java.awt.event.MouseMotionListener</CODE></DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="mouseMoved(java.awt.event.MouseEvent)"><!-- --></A><H3> mouseMoved</H3> <PRE> public void <B>mouseMoved</B>(java.awt.event.MouseEvent e)</PRE> <DL> <DD><DL> <DT><B>Specified by:</B><DD><CODE>mouseMoved</CODE> in interface <CODE>java.awt.event.MouseMotionListener</CODE></DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="mousePressed()"><!-- --></A><H3> mousePressed</H3> <PRE> public void <B>mousePressed</B>()</PRE> <DL> <DD>Mouse has been pressed, and should be considered "down" until mouseReleased() is called. If you must, use int button = mouseEvent.getButton(); to figure out which button was clicked. It will be one of: MouseEvent.BUTTON1, MouseEvent.BUTTON2, MouseEvent.BUTTON3 Note, however, that this is completely inconsistent across platforms. <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="mouseReleased()"><!-- --></A><H3> mouseReleased</H3> <PRE> public void <B>mouseReleased</B>()</PRE> <DL> <DD>Mouse button has been released. <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="mouseClicked()"><!-- --></A><H3> mouseClicked</H3> <PRE> public void <B>mouseClicked</B>()</PRE> <DL> <DD>When the mouse is clicked, mousePressed() will be called, then mouseReleased(), then mouseClicked(). Note that mousePressed is already false inside of mouseClicked(). <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="mouseDragged()"><!-- --></A><H3> mouseDragged</H3> <PRE> public void <B>mouseDragged</B>()</PRE> <DL> <DD>Mouse button is pressed and the mouse has been dragged. <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="mouseMoved()"><!-- --></A><H3> mouseMoved</H3> <PRE> public void <B>mouseMoved</B>()</PRE> <DL> <DD>Mouse button is not pressed but the mouse has changed locations. <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="keyPressed(java.awt.event.KeyEvent)"><!-- --></A><H3> keyPressed</H3> <PRE> public void <B>keyPressed</B>(java.awt.event.KeyEvent e)</PRE> <DL> <DD>Overriding keyXxxxx(KeyEvent e) functions will cause the 'key', 'keyCode', and 'keyEvent' variables to no longer work; key events will no longer be queued until the end of draw(); and the keyPressed(), keyReleased() and keyTyped() methods will no longer be called. <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE>keyPressed</CODE> in interface <CODE>java.awt.event.KeyListener</CODE></DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="keyReleased(java.awt.event.KeyEvent)"><!-- --></A><H3> keyReleased</H3> <PRE> public void <B>keyReleased</B>(java.awt.event.KeyEvent e)</PRE> <DL> <DD><DL> <DT><B>Specified by:</B><DD><CODE>keyReleased</CODE> in interface <CODE>java.awt.event.KeyListener</CODE></DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="keyTyped(java.awt.event.KeyEvent)"><!-- --></A><H3> keyTyped</H3> <PRE> public void <B>keyTyped</B>(java.awt.event.KeyEvent e)</PRE> <DL> <DD><DL> <DT><B>Specified by:</B><DD><CODE>keyTyped</CODE> in interface <CODE>java.awt.event.KeyListener</CODE></DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="keyPressed()"><!-- --></A><H3> keyPressed</H3> <PRE> public void <B>keyPressed</B>()</PRE> <DL> <DD>Called each time a single key on the keyboard is pressed. Because of how operating systems handle key repeats, holding down a key will cause multiple calls to keyPressed(), because the OS repeat takes over. <P> Examples for key handling: (Tested on Windows XP, please notify if different on other platforms, I have a feeling Mac OS and Linux may do otherwise) <PRE> 1. Pressing 'a' on the keyboard: keyPressed with key == 'a' and keyCode == 'A' keyTyped with key == 'a' and keyCode == 0 keyReleased with key == 'a' and keyCode == 'A' 2. Pressing 'A' on the keyboard: keyPressed with key == 'A' and keyCode == 'A' keyTyped with key == 'A' and keyCode == 0 keyReleased with key == 'A' and keyCode == 'A' 3. Pressing 'shift', then 'a' on the keyboard (caps lock is off): keyPressed with key == CODED and keyCode == SHIFT keyPressed with key == 'A' and keyCode == 'A' keyTyped with key == 'A' and keyCode == 0 keyReleased with key == 'A' and keyCode == 'A' keyReleased with key == CODED and keyCode == SHIFT 4. Holding down the 'a' key. The following will happen several times, depending on your machine's "key repeat rate" settings: keyPressed with key == 'a' and keyCode == 'A' keyTyped with key == 'a' and keyCode == 0 When you finally let go, you'll get: keyReleased with key == 'a' and keyCode == 'A' 5. Pressing and releasing the 'shift' key keyPressed with key == CODED and keyCode == SHIFT keyReleased with key == CODED and keyCode == SHIFT (note there is no keyTyped) 6. Pressing the tab key in an applet with Java 1.4 will normally do nothing, but PApplet dynamically shuts this behavior off if Java 1.4 is in use (tested 1.4.2_05 Windows). Java 1.1 (Microsoft VM) passes the TAB key through normally. Not tested on other platforms or for 1.3. </PRE> <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="keyReleased()"><!-- --></A><H3> keyReleased</H3> <PRE> public void <B>keyReleased</B>()</PRE> <DL> <DD>See keyPressed(). <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="keyTyped()"><!-- --></A><H3> keyTyped</H3> <PRE> public void <B>keyTyped</B>()</PRE> <DL> <DD>Only called for "regular" keys like letters, see keyPressed() for full documentation. <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="focusGained()"><!-- --></A><H3> focusGained</H3> <PRE> public void <B>focusGained</B>()</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="focusGained(java.awt.event.FocusEvent)"><!-- --></A><H3> focusGained</H3> <PRE> public void <B>focusGained</B>(java.awt.event.FocusEvent e)</PRE> <DL> <DD><DL> <DT><B>Specified by:</B><DD><CODE>focusGained</CODE> in interface <CODE>java.awt.event.FocusListener</CODE></DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="focusLost()"><!-- --></A><H3> focusLost</H3> <PRE> public void <B>focusLost</B>()</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="focusLost(java.awt.event.FocusEvent)"><!-- --></A><H3> focusLost</H3> <PRE> public void <B>focusLost</B>(java.awt.event.FocusEvent e)</PRE> <DL> <DD><DL> <DT><B>Specified by:</B><DD><CODE>focusLost</CODE> in interface <CODE>java.awt.event.FocusListener</CODE></DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="millis()"><!-- --></A><H3> millis</H3> <PRE> public int <B>millis</B>()</PRE> <DL> <DD>Get the number of milliseconds since the applet started. <P> This is a function, rather than a variable, because it may change multiple times per frame. <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="second()"><!-- --></A><H3> second</H3> <PRE> public static int <B>second</B>()</PRE> <DL> <DD>Seconds position of the current time. <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="minute()"><!-- --></A><H3> minute</H3> <PRE> public static int <B>minute</B>()</PRE> <DL> <DD>Minutes position of the current time. <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="hour()"><!-- --></A><H3> hour</H3> <PRE> public static int <B>hour</B>()</PRE> <DL> <DD>Hour position of the current time in international format (0-23). <P> To convert this value to American time: <BR> <PRE>int yankeeHour = (hour() % 12); if (yankeeHour == 0) yankeeHour = 12;</PRE> <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="day()"><!-- --></A><H3> day</H3> <PRE> public static int <B>day</B>()</PRE> <DL> <DD>Get the current day of the month (1 through 31). <P> If you're looking for the day of the week (M-F or whatever) or day of the year (1..365) then use java's Calendar.get() <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="month()"><!-- --></A><H3> month</H3> <PRE> public static int <B>month</B>()</PRE> <DL> <DD>Get the current month in range 1 through 12. <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="year()"><!-- --></A><H3> year</H3> <PRE> public static int <B>year</B>()</PRE> <DL> <DD>Get the current year. <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="delay(int)"><!-- --></A><H3> delay</H3> <PRE> public void <B>delay</B>(int napTime)</PRE> <DL> <DD>The delay() function causes the program to halt for a specified time. Delay times are specified in thousandths of a second. For example, running delay(3000) will stop the program for three seconds and delay(500) will stop the program for a half-second. Remember: the display window is updated only at the end of draw(), so putting more than one delay() inside draw() will simply add them together and the new frame will be drawn when the total delay is over. <br/> <br/> I'm not sure if this is even helpful anymore, as the screen isn't updated before or after the delay, meaning which means it just makes the app lock up temporarily. <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="frameRate(float)"><!-- --></A><H3> frameRate</H3> <PRE> public void <B>frameRate</B>(float newRateTarget)</PRE> <DL> <DD>Set a target frameRate. This will cause delay() to be called after each frame so that the sketch synchronizes to a particular speed. Note that this only sets the maximum frame rate, it cannot be used to make a slow sketch go faster. Sketches have no default frame rate setting, and will attempt to use maximum processor power to achieve maximum speed. <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="param(java.lang.String)"><!-- --></A><H3> param</H3> <PRE> public java.lang.String <B>param</B>(java.lang.String what)</PRE> <DL> <DD>Get a param from the web page, or (eventually) from a properties file. <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="status(java.lang.String)"><!-- --></A><H3> status</H3> <PRE> public void <B>status</B>(java.lang.String what)</PRE> <DL> <DD>Show status in the status bar of a web browser, or in the System.out console. Eventually this might show status in the p5 environment itself, rather than relying on the console. <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="link(java.lang.String)"><!-- --></A><H3> link</H3> <PRE> public void <B>link</B>(java.lang.String here)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="link(java.lang.String, java.lang.String)"><!-- --></A><H3> link</H3> <PRE> public void <B>link</B>(java.lang.String url, java.lang.String frameTitle)</PRE> <DL> <DD>Link to an external page without all the muss. <P> When run with an applet, uses the browser to open the url, for applications, attempts to launch a browser with the url. <P> Works on Mac OS X and Windows. For Linux, use: <PRE>open(new String[] { "firefox", url });</PRE> or whatever you want as your browser, since Linux doesn't yet have a standard method for launching URLs. <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="open(java.lang.String)"><!-- --></A><H3> open</H3> <PRE> public static void <B>open</B>(java.lang.String filename)</PRE> <DL> <DD>Attempt to open a file using the platform's shell. <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="open(java.lang.String[])"><!-- --></A><H3> open</H3> <PRE> public static java.lang.Process <B>open</B>(java.lang.String[] argv)</PRE> <DL> <DD>Launch a process using a platforms shell. This version uses an array to make it easier to deal with spaces in the individual elements. (This avoids the situation of trying to put single or double quotes around different bits). <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="exec(java.lang.String[])"><!-- --></A><H3> exec</H3> <PRE> public static java.lang.Process <B>exec</B>(java.lang.String[] argv)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="die(java.lang.String)"><!-- --></A><H3> die</H3> <PRE> public void <B>die</B>(java.lang.String what)</PRE> <DL> <DD>Function for an applet/application to kill itself and display an error. Mostly this is here to be improved later. <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="die(java.lang.String, java.lang.Exception)"><!-- --></A><H3> die</H3> <PRE> public void <B>die</B>(java.lang.String what, java.lang.Exception e)</PRE> <DL> <DD>Same as above but with an exception. Also needs work. <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="exit()"><!-- --></A><H3> exit</H3> <PRE> public void <B>exit</B>()</PRE> <DL> <DD>Call to safely exit the sketch when finished. For instance, to render a single frame, save it, and quit. <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="save(java.lang.String)"><!-- --></A><H3> save</H3> <PRE> public void <B>save</B>(java.lang.String filename)</PRE> <DL> <DD>Intercepts any relative paths to make them absolute (relative to the sketch folder) before passing to save() in PImage. (Changed in 0100) <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="saveFrame()"><!-- --></A><H3> saveFrame</H3> <PRE> public void <B>saveFrame</B>()</PRE> <DL> <DD>Grab an image of what's currently in the drawing area and save it as a .tif or .tga file. <P> Best used just before endDraw() at the end of your draw(). This can only create .tif or .tga images, so if neither extension is specified it defaults to writing a tiff and adds a .tif suffix. <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="saveFrame(java.lang.String)"><!-- --></A><H3> saveFrame</H3> <PRE> public void <B>saveFrame</B>(java.lang.String what)</PRE> <DL> <DD>Save the current frame as a .tif or .tga image. <P> The String passed in can contain a series of # signs that will be replaced with the screengrab number. <PRE> i.e. saveFrame("blah-####.tif"); // saves a numbered tiff image, replacing the // #### signs with zeros and the frame number </PRE> <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="cursor(int)"><!-- --></A><H3> cursor</H3> <PRE> public void <B>cursor</B>(int cursorType)</PRE> <DL> <DD>Set the cursor type <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="cursor(processing.core.PImage)"><!-- --></A><H3> cursor</H3> <PRE> public void <B>cursor</B>(<A HREF="../../processing/core/PImage.html" title="class in processing.core">PImage</A> image)</PRE> <DL> <DD>Replace the cursor with the specified PImage. The x- and y- coordinate of the center will be the center of the image. <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="cursor(processing.core.PImage, int, int)"><!-- --></A><H3> cursor</H3> <PRE> public void <B>cursor</B>(<A HREF="../../processing/core/PImage.html" title="class in processing.core">PImage</A> image, int hotspotX, int hotspotY)</PRE> <DL> <DD>Set a custom cursor to an image with a specific hotspot. Only works with JDK 1.2 and later. Currently seems to be broken on Java 1.4 for Mac OS X <P> Based on code contributed by Amit Pitaru, plus additional code to handle Java versions via reflection by Jonathan Feinberg. Reflection removed for release 0128 and later. <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="cursor()"><!-- --></A><H3> cursor</H3> <PRE> public void <B>cursor</B>()</PRE> <DL> <DD>Show the cursor after noCursor() was called. Notice that the program remembers the last set cursor type <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="noCursor()"><!-- --></A><H3> noCursor</H3> <PRE> public void <B>noCursor</B>()</PRE> <DL> <DD>Hide the cursor by creating a transparent image and using it as a custom cursor. <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="print(byte)"><!-- --></A><H3> print</H3> <PRE> public static void <B>print</B>(byte what)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="print(boolean)"><!-- --></A><H3> print</H3> <PRE> public static void <B>print</B>(boolean what)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="print(char)"><!-- --></A><H3> print</H3> <PRE> public static void <B>print</B>(char what)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="print(int)"><!-- --></A><H3> print</H3> <PRE> public static void <B>print</B>(int what)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="print(float)"><!-- --></A><H3> print</H3> <PRE> public static void <B>print</B>(float what)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="print(java.lang.String)"><!-- --></A><H3> print</H3> <PRE> public static void <B>print</B>(java.lang.String what)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="print(java.lang.Object)"><!-- --></A><H3> print</H3> <PRE> public static void <B>print</B>(java.lang.Object what)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="println()"><!-- --></A><H3> println</H3> <PRE> public static void <B>println</B>()</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="println(byte)"><!-- --></A><H3> println</H3> <PRE> public static void <B>println</B>(byte what)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="println(boolean)"><!-- --></A><H3> println</H3> <PRE> public static void <B>println</B>(boolean what)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="println(char)"><!-- --></A><H3> println</H3> <PRE> public static void <B>println</B>(char what)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="println(int)"><!-- --></A><H3> println</H3> <PRE> public static void <B>println</B>(int what)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="println(float)"><!-- --></A><H3> println</H3> <PRE> public static void <B>println</B>(float what)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="println(java.lang.String)"><!-- --></A><H3> println</H3> <PRE> public static void <B>println</B>(java.lang.String what)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="println(java.lang.Object)"><!-- --></A><H3> println</H3> <PRE> public static void <B>println</B>(java.lang.Object what)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="abs(float)"><!-- --></A><H3> abs</H3> <PRE> public static final float <B>abs</B>(float n)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="abs(int)"><!-- --></A><H3> abs</H3> <PRE> public static final int <B>abs</B>(int n)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="sq(float)"><!-- --></A><H3> sq</H3> <PRE> public static final float <B>sq</B>(float a)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="sqrt(float)"><!-- --></A><H3> sqrt</H3> <PRE> public static final float <B>sqrt</B>(float a)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="log(float)"><!-- --></A><H3> log</H3> <PRE> public static final float <B>log</B>(float a)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="exp(float)"><!-- --></A><H3> exp</H3> <PRE> public static final float <B>exp</B>(float a)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="pow(float, float)"><!-- --></A><H3> pow</H3> <PRE> public static final float <B>pow</B>(float a, float b)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="max(int, int)"><!-- --></A><H3> max</H3> <PRE> public static final int <B>max</B>(int a, int b)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="max(float, float)"><!-- --></A><H3> max</H3> <PRE> public static final float <B>max</B>(float a, float b)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="max(int, int, int)"><!-- --></A><H3> max</H3> <PRE> public static final int <B>max</B>(int a, int b, int c)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="max(float, float, float)"><!-- --></A><H3> max</H3> <PRE> public static final float <B>max</B>(float a, float b, float c)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="max(int[])"><!-- --></A><H3> max</H3> <PRE> public static final int <B>max</B>(int[] list)</PRE> <DL> <DD>Find the maximum value in an array. Throws an ArrayIndexOutOfBoundsException if the array is length 0. <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>list</CODE> - the source array <DT><B>Returns:</B><DD>The maximum value</DL> </DD> </DL> <HR> <A NAME="max(float[])"><!-- --></A><H3> max</H3> <PRE> public static final float <B>max</B>(float[] list)</PRE> <DL> <DD>Find the maximum value in an array. Throws an ArrayIndexOutOfBoundsException if the array is length 0. <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>list</CODE> - the source array <DT><B>Returns:</B><DD>The maximum value</DL> </DD> </DL> <HR> <A NAME="min(int, int)"><!-- --></A><H3> min</H3> <PRE> public static final int <B>min</B>(int a, int b)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="min(float, float)"><!-- --></A><H3> min</H3> <PRE> public static final float <B>min</B>(float a, float b)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="min(int, int, int)"><!-- --></A><H3> min</H3> <PRE> public static final int <B>min</B>(int a, int b, int c)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="min(float, float, float)"><!-- --></A><H3> min</H3> <PRE> public static final float <B>min</B>(float a, float b, float c)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="min(int[])"><!-- --></A><H3> min</H3> <PRE> public static final int <B>min</B>(int[] list)</PRE> <DL> <DD>Find the minimum value in an array. Throws an ArrayIndexOutOfBoundsException if the array is length 0. <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>list</CODE> - the source array <DT><B>Returns:</B><DD>The minimum value</DL> </DD> </DL> <HR> <A NAME="min(float[])"><!-- --></A><H3> min</H3> <PRE> public static final float <B>min</B>(float[] list)</PRE> <DL> <DD>Find the minimum value in an array. Throws an ArrayIndexOutOfBoundsException if the array is length 0. <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>list</CODE> - the source array <DT><B>Returns:</B><DD>The minimum value</DL> </DD> </DL> <HR> <A NAME="constrain(int, int, int)"><!-- --></A><H3> constrain</H3> <PRE> public static final int <B>constrain</B>(int amt, int low, int high)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="constrain(float, float, float)"><!-- --></A><H3> constrain</H3> <PRE> public static final float <B>constrain</B>(float amt, float low, float high)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="sin(float)"><!-- --></A><H3> sin</H3> <PRE> public static final float <B>sin</B>(float angle)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="cos(float)"><!-- --></A><H3> cos</H3> <PRE> public static final float <B>cos</B>(float angle)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="tan(float)"><!-- --></A><H3> tan</H3> <PRE> public static final float <B>tan</B>(float angle)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="asin(float)"><!-- --></A><H3> asin</H3> <PRE> public static final float <B>asin</B>(float value)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="acos(float)"><!-- --></A><H3> acos</H3> <PRE> public static final float <B>acos</B>(float value)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="atan(float)"><!-- --></A><H3> atan</H3> <PRE> public static final float <B>atan</B>(float value)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="atan2(float, float)"><!-- --></A><H3> atan2</H3> <PRE> public static final float <B>atan2</B>(float a, float b)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="degrees(float)"><!-- --></A><H3> degrees</H3> <PRE> public static final float <B>degrees</B>(float radians)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="radians(float)"><!-- --></A><H3> radians</H3> <PRE> public static final float <B>radians</B>(float degrees)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="ceil(float)"><!-- --></A><H3> ceil</H3> <PRE> public static final int <B>ceil</B>(float what)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="floor(float)"><!-- --></A><H3> floor</H3> <PRE> public static final int <B>floor</B>(float what)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="round(float)"><!-- --></A><H3> round</H3> <PRE> public static final int <B>round</B>(float what)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="mag(float, float)"><!-- --></A><H3> mag</H3> <PRE> public static final float <B>mag</B>(float a, float b)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="mag(float, float, float)"><!-- --></A><H3> mag</H3> <PRE> public static final float <B>mag</B>(float a, float b, float c)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="dist(float, float, float, float)"><!-- --></A><H3> dist</H3> <PRE> public static final float <B>dist</B>(float x1, float y1, float x2, float y2)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="dist(float, float, float, float, float, float)"><!-- --></A><H3> dist</H3> <PRE> public static final float <B>dist</B>(float x1, float y1, float z1, float x2, float y2, float z2)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="lerp(float, float, float)"><!-- --></A><H3> lerp</H3> <PRE> public static final float <B>lerp</B>(float start, float stop, float amt)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="norm(float, float, float)"><!-- --></A><H3> norm</H3> <PRE> public static final float <B>norm</B>(float value, float start, float stop)</PRE> <DL> <DD>Normalize a value to exist between 0 and 1 (inclusive). Mathematically the opposite of lerp(), figures out what proportion a particular value is relative to start and stop coordinates. <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="map(float, float, float, float, float)"><!-- --></A><H3> map</H3> <PRE> public static final float <B>map</B>(float value, float istart, float istop, float ostart, float ostop)</PRE> <DL> <DD>Convenience function to map a variable from one coordinate space to another. Equivalent to unlerp() followed by lerp(). <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="random(float)"><!-- --></A><H3> random</H3> <PRE> public final float <B>random</B>(float howbig)</PRE> <DL> <DD>Return a random number in the range [0, howbig). <P> The number returned will range from zero up to (but not including) 'howbig'. <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="random(float, float)"><!-- --></A><H3> random</H3> <PRE> public final float <B>random</B>(float howsmall, float howbig)</PRE> <DL> <DD>Return a random number in the range [howsmall, howbig). <P> The number returned will range from 'howsmall' up to (but not including 'howbig'. <P> If howsmall is >= howbig, howsmall will be returned, meaning that random(5, 5) will return 5 (useful) and random(7, 4) will return 7 (not useful.. better idea?) <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="randomSeed(long)"><!-- --></A><H3> randomSeed</H3> <PRE> public final void <B>randomSeed</B>(long what)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="noise(float)"><!-- --></A><H3> noise</H3> <PRE> public float <B>noise</B>(float x)</PRE> <DL> <DD>Computes the Perlin noise function value at point x. <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="noise(float, float)"><!-- --></A><H3> noise</H3> <PRE> public float <B>noise</B>(float x, float y)</PRE> <DL> <DD>Computes the Perlin noise function value at the point x, y. <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="noise(float, float, float)"><!-- --></A><H3> noise</H3> <PRE> public float <B>noise</B>(float x, float y, float z)</PRE> <DL> <DD>Computes the Perlin noise function value at x, y, z. <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="noiseDetail(int)"><!-- --></A><H3> noiseDetail</H3> <PRE> public void <B>noiseDetail</B>(int lod)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="noiseDetail(int, float)"><!-- --></A><H3> noiseDetail</H3> <PRE> public void <B>noiseDetail</B>(int lod, float falloff)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="noiseSeed(long)"><!-- --></A><H3> noiseSeed</H3> <PRE> public void <B>noiseSeed</B>(long what)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="loadImage(java.lang.String)"><!-- --></A><H3> loadImage</H3> <PRE> public <A HREF="../../processing/core/PImage.html" title="class in processing.core">PImage</A> <B>loadImage</B>(java.lang.String filename)</PRE> <DL> <DD>Load an image from the data folder or a local directory. Supports .gif (including transparency), .tga, and .jpg images. In Java 1.3 or later, .png images are <A HREF="http://java.sun.com/j2se/1.3/docs/guide/2d/new_features.html"> also supported</A>. <P> Generally, loadImage() should only be used during setup, because re-loading images inside draw() is likely to cause a significant delay while memory is allocated and the thread blocks while waiting for the image to load because loading is not asynchronous. <P> To load several images asynchronously, see more information in the FAQ about writing your own threaded image loading method. <P> As of 0096, returns null if no image of that name is found, rather than an error. <P> Release 0115 also provides support for reading TIFF and RLE-encoded Targa (.tga) files written by Processing via save() and saveFrame(). Other TIFF and Targa files will probably not load, use a different format (gif, jpg and png are safest bets) when creating images with another application to use with Processing. <P> Also in release 0115, more image formats (BMP and others) can be read when using Java 1.4 and later. Because many people still use Java 1.1 and 1.3, these formats are not recommended for work that will be posted on the web. To get a list of possible image formats for use with Java 1.4 and later, use the following: <TT>println(javax.imageio.ImageIO.getReaderFormatNames())</TT> <P> Images are loaded via a byte array that is passed to Toolkit.createImage(). Unfortunately, we cannot use Applet.getImage() because it takes a URL argument, which would be a pain in the a-- to make work consistently for online and local sketches. Sometimes this causes problems, resulting in issues like <A HREF="http://dev.processing.org/bugs/show_bug.cgi?id=279">Bug 279</A> and <A HREF="http://dev.processing.org/bugs/show_bug.cgi?id=305">Bug 305</A>. In release 0115, everything was instead run through javax.imageio, but that turned out to be very slow, see <A HREF="http://dev.processing.org/bugs/show_bug.cgi?id=392">Bug 392</A>. As a result, starting with 0116, the following happens: <UL> <LI>TGA and TIFF images are loaded using the internal load methods. <LI>JPG, GIF, and PNG images are loaded via loadBytes(). <LI>If the image still isn't loaded, it's passed to javax.imageio. </UL> For releases 0116 and later, if you have problems such as those seen in Bugs 279 and 305, use Applet.getImage() instead. You'll be stuck with the limitations of getImage() (the headache of dealing with online/offline use). Set up your own MediaTracker, and pass the resulting java.awt.Image to the PImage constructor that takes an AWT image. <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="loadImage(java.lang.String, java.lang.String)"><!-- --></A><H3> loadImage</H3> <PRE> public <A HREF="../../processing/core/PImage.html" title="class in processing.core">PImage</A> <B>loadImage</B>(java.lang.String filename, java.lang.String extension)</PRE> <DL> <DD>Identical to loadImage, but allows you to specify the type of image by its extension. Especially useful when downloading from CGI scripts. <br/> <br/> Use 'unknown' as the extension to pass off to the default image loader that handles gif, jpg, and png. <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="requestImage(java.lang.String)"><!-- --></A><H3> requestImage</H3> <PRE> public <A HREF="../../processing/core/PImage.html" title="class in processing.core">PImage</A> <B>requestImage</B>(java.lang.String filename)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="requestImage(java.lang.String, java.lang.String)"><!-- --></A><H3> requestImage</H3> <PRE> public <A HREF="../../processing/core/PImage.html" title="class in processing.core">PImage</A> <B>requestImage</B>(java.lang.String filename, java.lang.String extension)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="loadShape(java.lang.String)"><!-- --></A><H3> loadShape</H3> <PRE> public <A HREF="../../processing/core/PShape.html" title="class in processing.core">PShape</A> <B>loadShape</B>(java.lang.String filename)</PRE> <DL> <DD>Load a geometry from a file as a PShape. Currently only supports SVG data. <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="loadFont(java.lang.String)"><!-- --></A><H3> loadFont</H3> <PRE> public <A HREF="../../processing/core/PFont.html" title="class in processing.core">PFont</A> <B>loadFont</B>(java.lang.String filename)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="createFont(java.lang.String, float)"><!-- --></A><H3> createFont</H3> <PRE> public <A HREF="../../processing/core/PFont.html" title="class in processing.core">PFont</A> <B>createFont</B>(java.lang.String name, float size)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="createFont(java.lang.String, float, boolean)"><!-- --></A><H3> createFont</H3> <PRE> public <A HREF="../../processing/core/PFont.html" title="class in processing.core">PFont</A> <B>createFont</B>(java.lang.String name, float size, boolean smooth)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="createFont(java.lang.String, float, boolean, char[])"><!-- --></A><H3> createFont</H3> <PRE> public <A HREF="../../processing/core/PFont.html" title="class in processing.core">PFont</A> <B>createFont</B>(java.lang.String name, float size, boolean smooth, char[] charset)</PRE> <DL> <DD>Create a .vlw font on the fly from either a font name that's installed on the system, or from a .ttf or .otf that's inside the data folder of this sketch. <P/> Only works with Java 1.3 or later. Many .otf fonts don't seem to be supported by Java, perhaps because they're CFF based? <P/> Font names are inconsistent across platforms and Java versions. On Mac OS X, Java 1.3 uses the font menu name of the font, whereas Java 1.4 uses the PostScript name of the font. Java 1.4 on OS X will also accept the font menu name as well. On Windows, it appears that only the menu names are used, no matter what Java version is in use. Naming system unknown/untested for 1.5. <P/> Use 'null' for the charset if you want to use any of the 65,536 unicode characters that exist in the font. Note that this can produce an enormous file or may cause an OutOfMemoryError. <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="selectInput()"><!-- --></A><H3> selectInput</H3> <PRE> public java.lang.String <B>selectInput</B>()</PRE> <DL> <DD>Open a platform-specific file chooser dialog to select a file for input. <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>full path to the selected file, or null if no selection.</DL> </DD> </DL> <HR> <A NAME="selectInput(java.lang.String)"><!-- --></A><H3> selectInput</H3> <PRE> public java.lang.String <B>selectInput</B>(java.lang.String prompt)</PRE> <DL> <DD>Open a platform-specific file chooser dialog to select a file for input. <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>prompt</CODE> - Mesage to show the user when prompting for a file. <DT><B>Returns:</B><DD>full path to the selected file, or null if canceled.</DL> </DD> </DL> <HR> <A NAME="selectOutput()"><!-- --></A><H3> selectOutput</H3> <PRE> public java.lang.String <B>selectOutput</B>()</PRE> <DL> <DD>Open a platform-specific file save dialog to select a file for output. <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>full path to the file entered, or null if canceled.</DL> </DD> </DL> <HR> <A NAME="selectOutput(java.lang.String)"><!-- --></A><H3> selectOutput</H3> <PRE> public java.lang.String <B>selectOutput</B>(java.lang.String prompt)</PRE> <DL> <DD>Open a platform-specific file save dialog to select a file for output. <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>prompt</CODE> - Mesage to show the user when prompting for a file. <DT><B>Returns:</B><DD>full path to the file entered, or null if canceled.</DL> </DD> </DL> <HR> <A NAME="selectFolder()"><!-- --></A><H3> selectFolder</H3> <PRE> public java.lang.String <B>selectFolder</B>()</PRE> <DL> <DD>Open a platform-specific folder chooser dialog. <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>full path to the selected folder, or null if no selection.</DL> </DD> </DL> <HR> <A NAME="selectFolder(java.lang.String)"><!-- --></A><H3> selectFolder</H3> <PRE> public java.lang.String <B>selectFolder</B>(java.lang.String prompt)</PRE> <DL> <DD>Open a platform-specific folder chooser dialog. <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>prompt</CODE> - Mesage to show the user when prompting for a file. <DT><B>Returns:</B><DD>full path to the selected folder, or null if no selection.</DL> </DD> </DL> <HR> <A NAME="createReader(java.lang.String)"><!-- --></A><H3> createReader</H3> <PRE> public java.io.BufferedReader <B>createReader</B>(java.lang.String filename)</PRE> <DL> <DD>I want to read lines from a file. I have RSI from typing these eight lines of code so many times. <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="createReader(java.io.File)"><!-- --></A><H3> createReader</H3> <PRE> public static java.io.BufferedReader <B>createReader</B>(java.io.File file)</PRE> <DL> <DD>I want to read lines from a file. And I'm still annoyed. <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="createReader(java.io.InputStream)"><!-- --></A><H3> createReader</H3> <PRE> public static java.io.BufferedReader <B>createReader</B>(java.io.InputStream input)</PRE> <DL> <DD>I want to read lines from a stream. If I have to type the following lines any more I'm gonna send Sun my medical bills. <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="createWriter(java.lang.String)"><!-- --></A><H3> createWriter</H3> <PRE> public java.io.PrintWriter <B>createWriter</B>(java.lang.String filename)</PRE> <DL> <DD>I want to print lines to a file. Why can't I? <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="createWriter(java.io.File)"><!-- --></A><H3> createWriter</H3> <PRE> public static java.io.PrintWriter <B>createWriter</B>(java.io.File file)</PRE> <DL> <DD>I want to print lines to a file. I have RSI from typing these eight lines of code so many times. <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="createWriter(java.io.OutputStream)"><!-- --></A><H3> createWriter</H3> <PRE> public static java.io.PrintWriter <B>createWriter</B>(java.io.OutputStream output)</PRE> <DL> <DD>I want to print lines to a file. Why am I always explaining myself? It's the JavaSoft API engineers who need to explain themselves. <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="openStream(java.lang.String)"><!-- --></A><H3> openStream</H3> <PRE> public java.io.InputStream <B>openStream</B>(java.lang.String filename)</PRE> <DL> <DD><B>Deprecated.</B> <I>As of release 0136, use createInput() instead.</I> <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="createInput(java.lang.String)"><!-- --></A><H3> createInput</H3> <PRE> public java.io.InputStream <B>createInput</B>(java.lang.String filename)</PRE> <DL> <DD>Simplified method to open a Java InputStream. <P> This method is useful if you want to use the facilities provided by PApplet to easily open things from the data folder or from a URL, but want an InputStream object so that you can use other Java methods to take more control of how the stream is read. <P> If the requested item doesn't exist, null is returned. (Prior to 0096, die() would be called, killing the applet) <P> For 0096+, the "data" folder is exported intact with subfolders, and openStream() properly handles subdirectories from the data folder <P> If not online, this will also check to see if the user is asking for a file whose name isn't properly capitalized. This helps prevent issues when a sketch is exported to the web, where case sensitivity matters, as opposed to Windows and the Mac OS default where case sensitivity is preserved but ignored. <P> It is strongly recommended that libraries use this method to open data files, so that the loading sequence is handled in the same way as functions like loadBytes(), loadImage(), etc. <P> The filename passed in can be: <UL> <LI>A URL, for instance openStream("http://processing.org/"); <LI>A file in the sketch's data folder <LI>Another file to be opened locally (when running as an application) </UL> <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="createInputRaw(java.lang.String)"><!-- --></A><H3> createInputRaw</H3> <PRE> public java.io.InputStream <B>createInputRaw</B>(java.lang.String filename)</PRE> <DL> <DD>Call openStream() without automatic gzip decompression. <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="createInput(java.io.File)"><!-- --></A><H3> createInput</H3> <PRE> public static java.io.InputStream <B>createInput</B>(java.io.File file)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="loadBytes(java.lang.String)"><!-- --></A><H3> loadBytes</H3> <PRE> public byte[] <B>loadBytes</B>(java.lang.String filename)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="loadBytes(java.io.InputStream)"><!-- --></A><H3> loadBytes</H3> <PRE> public static byte[] <B>loadBytes</B>(java.io.InputStream input)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="loadBytes(java.io.File)"><!-- --></A><H3> loadBytes</H3> <PRE> public static byte[] <B>loadBytes</B>(java.io.File file)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="loadStrings(java.io.File)"><!-- --></A><H3> loadStrings</H3> <PRE> public static java.lang.String[] <B>loadStrings</B>(java.io.File file)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="loadStrings(java.lang.String)"><!-- --></A><H3> loadStrings</H3> <PRE> public java.lang.String[] <B>loadStrings</B>(java.lang.String filename)</PRE> <DL> <DD>Load data from a file and shove it into a String array. <P> Exceptions are handled internally, when an error, occurs, an exception is printed to the console and 'null' is returned, but the program continues running. This is a tradeoff between 1) showing the user that there was a problem but 2) not requiring that all i/o code is contained in try/catch blocks, for the sake of new users (or people who are just trying to get things done in a "scripting" fashion. If you want to handle exceptions, use Java methods for I/O. <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="loadStrings(java.io.InputStream)"><!-- --></A><H3> loadStrings</H3> <PRE> public static java.lang.String[] <B>loadStrings</B>(java.io.InputStream input)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="createOutput(java.lang.String)"><!-- --></A><H3> createOutput</H3> <PRE> public java.io.OutputStream <B>createOutput</B>(java.lang.String filename)</PRE> <DL> <DD>Similar to createInput() (formerly openStream), this creates a Java OutputStream for a given filename or path. The file will be created in the sketch folder, or in the same folder as an exported application. <p/> If the path does not exist, intermediate folders will be created. If an exception occurs, it will be printed to the console, and null will be returned. <p/> Future releases may also add support for handling HTTP POST via this method (for better symmetry with createInput), however that's maybe a little too clever (and then we'd have to add the same features to the other file functions like createWriter). Who you callin' bloated? <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="createOutput(java.io.File)"><!-- --></A><H3> createOutput</H3> <PRE> public static java.io.OutputStream <B>createOutput</B>(java.io.File file)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="saveStream(java.lang.String, java.lang.String)"><!-- --></A><H3> saveStream</H3> <PRE> public void <B>saveStream</B>(java.lang.String targetFilename, java.lang.String sourceLocation)</PRE> <DL> <DD>Save the contents of a stream to a file in the sketch folder. This is basically saveBytes(blah, loadBytes()), but done more efficiently (and with less confusing syntax). <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="saveStream(java.io.File, java.lang.String)"><!-- --></A><H3> saveStream</H3> <PRE> public void <B>saveStream</B>(java.io.File targetFile, java.lang.String sourceLocation)</PRE> <DL> <DD>Identical to the other saveStream(), but writes to a File object, for greater control over the file location. Note that unlike other api methods, this will not automatically compress or uncompress gzip files. <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="saveStream(java.io.File, java.io.InputStream)"><!-- --></A><H3> saveStream</H3> <PRE> public static void <B>saveStream</B>(java.io.File targetFile, java.io.InputStream sourceStream)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="saveBytes(java.lang.String, byte[])"><!-- --></A><H3> saveBytes</H3> <PRE> public void <B>saveBytes</B>(java.lang.String filename, byte[] buffer)</PRE> <DL> <DD>Saves bytes to a file to inside the sketch folder. The filename can be a relative path, i.e. "poo/bytefun.txt" would save to a file named "bytefun.txt" to a subfolder called 'poo' inside the sketch folder. If the in-between subfolders don't exist, they'll be created. <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="saveBytes(java.io.File, byte[])"><!-- --></A><H3> saveBytes</H3> <PRE> public static void <B>saveBytes</B>(java.io.File file, byte[] buffer)</PRE> <DL> <DD>Saves bytes to a specific File location specified by the user. <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="saveBytes(java.io.OutputStream, byte[])"><!-- --></A><H3> saveBytes</H3> <PRE> public static void <B>saveBytes</B>(java.io.OutputStream output, byte[] buffer)</PRE> <DL> <DD>Spews a buffer of bytes to an OutputStream. <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="saveStrings(java.lang.String, java.lang.String[])"><!-- --></A><H3> saveStrings</H3> <PRE> public void <B>saveStrings</B>(java.lang.String filename, java.lang.String[] strings)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="saveStrings(java.io.File, java.lang.String[])"><!-- --></A><H3> saveStrings</H3> <PRE> public static void <B>saveStrings</B>(java.io.File file, java.lang.String[] strings)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="saveStrings(java.io.OutputStream, java.lang.String[])"><!-- --></A><H3> saveStrings</H3> <PRE> public static void <B>saveStrings</B>(java.io.OutputStream output, java.lang.String[] strings)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="sketchPath(java.lang.String)"><!-- --></A><H3> sketchPath</H3> <PRE> public java.lang.String <B>sketchPath</B>(java.lang.String where)</PRE> <DL> <DD>Prepend the sketch folder path to the filename (or path) that is passed in. External libraries should use this function to save to the sketch folder. <p/> Note that when running as an applet inside a web browser, the sketchPath will be set to null, because security restrictions prevent applets from accessing that information. <p/> This will also cause an error if the sketch is not inited properly, meaning that init() was never called on the PApplet when hosted my some other main() or by other code. For proper use of init(), see the examples in the main description text for PApplet. <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="sketchFile(java.lang.String)"><!-- --></A><H3> sketchFile</H3> <PRE> public java.io.File <B>sketchFile</B>(java.lang.String where)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="savePath(java.lang.String)"><!-- --></A><H3> savePath</H3> <PRE> public java.lang.String <B>savePath</B>(java.lang.String where)</PRE> <DL> <DD>Returns a path inside the applet folder to save to. Like sketchPath(), but creates any in-between folders so that things save properly. <p/> All saveXxxx() functions use the path to the sketch folder, rather than its data folder. Once exported, the data folder will be found inside the jar file of the exported application or applet. In this case, it's not possible to save data into the jar file, because it will often be running from a server, or marked in-use if running from a local file system. With this in mind, saving to the data path doesn't make sense anyway. If you know you're running locally, and want to save to the data folder, use <TT>saveXxxx("data/blah.dat")</TT>. <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="saveFile(java.lang.String)"><!-- --></A><H3> saveFile</H3> <PRE> public java.io.File <B>saveFile</B>(java.lang.String where)</PRE> <DL> <DD>Identical to savePath(), but returns a File object. <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="dataPath(java.lang.String)"><!-- --></A><H3> dataPath</H3> <PRE> public java.lang.String <B>dataPath</B>(java.lang.String where)</PRE> <DL> <DD>Return a full path to an item in the data folder. <p> In this method, the data path is defined not as the applet's actual data path, but a folder titled "data" in the sketch's working directory. When running inside the PDE, this will be the sketch's "data" folder. However, when exported (as application or applet), sketch's data folder is exported as part of the applications jar file, and it's not possible to read/write from the jar file in a generic way. If you need to read data from the jar file, you should use createInput(). <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="dataFile(java.lang.String)"><!-- --></A><H3> dataFile</H3> <PRE> public java.io.File <B>dataFile</B>(java.lang.String where)</PRE> <DL> <DD>Return a full path to an item in the data folder as a File object. See the dataPath() method for more information. <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="createPath(java.lang.String)"><!-- --></A><H3> createPath</H3> <PRE> public static void <B>createPath</B>(java.lang.String path)</PRE> <DL> <DD>Takes a path and creates any in-between folders if they don't already exist. Useful when trying to save to a subfolder that may not actually exist. <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="createPath(java.io.File)"><!-- --></A><H3> createPath</H3> <PRE> public static void <B>createPath</B>(java.io.File file)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="sort(byte[])"><!-- --></A><H3> sort</H3> <PRE> public static byte[] <B>sort</B>(byte[] what)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="sort(byte[], int)"><!-- --></A><H3> sort</H3> <PRE> public static byte[] <B>sort</B>(byte[] what, int count)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="sort(char[])"><!-- --></A><H3> sort</H3> <PRE> public static char[] <B>sort</B>(char[] what)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="sort(char[], int)"><!-- --></A><H3> sort</H3> <PRE> public static char[] <B>sort</B>(char[] what, int count)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="sort(int[])"><!-- --></A><H3> sort</H3> <PRE> public static int[] <B>sort</B>(int[] what)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="sort(int[], int)"><!-- --></A><H3> sort</H3> <PRE> public static int[] <B>sort</B>(int[] what, int count)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="sort(float[])"><!-- --></A><H3> sort</H3> <PRE> public static float[] <B>sort</B>(float[] what)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="sort(float[], int)"><!-- --></A><H3> sort</H3> <PRE> public static float[] <B>sort</B>(float[] what, int count)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="sort(java.lang.String[])"><!-- --></A><H3> sort</H3> <PRE> public static java.lang.String[] <B>sort</B>(java.lang.String[] what)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="sort(java.lang.String[], int)"><!-- --></A><H3> sort</H3> <PRE> public static java.lang.String[] <B>sort</B>(java.lang.String[] what, int count)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="arrayCopy(java.lang.Object, int, java.lang.Object, int, int)"><!-- --></A><H3> arrayCopy</H3> <PRE> public static void <B>arrayCopy</B>(java.lang.Object src, int srcPosition, java.lang.Object dst, int dstPosition, int length)</PRE> <DL> <DD>Calls System.arraycopy(), included here so that we can avoid people needing to learn about the System object before they can just copy an array. <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="arrayCopy(java.lang.Object, java.lang.Object, int)"><!-- --></A><H3> arrayCopy</H3> <PRE> public static void <B>arrayCopy</B>(java.lang.Object src, java.lang.Object dst, int length)</PRE> <DL> <DD>Convenience method for arraycopy(). Identical to <CODE>arraycopy(src, 0, dst, 0, length);</CODE> <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="arrayCopy(java.lang.Object, java.lang.Object)"><!-- --></A><H3> arrayCopy</H3> <PRE> public static void <B>arrayCopy</B>(java.lang.Object src, java.lang.Object dst)</PRE> <DL> <DD>Shortcut to copy the entire contents of the source into the destination array. Identical to <CODE>arraycopy(src, 0, dst, 0, src.length);</CODE> <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="arraycopy(java.lang.Object, int, java.lang.Object, int, int)"><!-- --></A><H3> arraycopy</H3> <PRE> public static void <B>arraycopy</B>(java.lang.Object src, int srcPosition, java.lang.Object dst, int dstPosition, int length)</PRE> <DL> <DD><B>Deprecated.</B> <I>Use arrayCopy() instead.</I> <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="arraycopy(java.lang.Object, java.lang.Object, int)"><!-- --></A><H3> arraycopy</H3> <PRE> public static void <B>arraycopy</B>(java.lang.Object src, java.lang.Object dst, int length)</PRE> <DL> <DD><B>Deprecated.</B> <I>Use arrayCopy() instead.</I> <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="arraycopy(java.lang.Object, java.lang.Object)"><!-- --></A><H3> arraycopy</H3> <PRE> public static void <B>arraycopy</B>(java.lang.Object src, java.lang.Object dst)</PRE> <DL> <DD><B>Deprecated.</B> <I>Use arrayCopy() instead.</I> <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="expand(boolean[])"><!-- --></A><H3> expand</H3> <PRE> public static boolean[] <B>expand</B>(boolean[] list)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="expand(boolean[], int)"><!-- --></A><H3> expand</H3> <PRE> public static boolean[] <B>expand</B>(boolean[] list, int newSize)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="expand(byte[])"><!-- --></A><H3> expand</H3> <PRE> public static byte[] <B>expand</B>(byte[] list)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="expand(byte[], int)"><!-- --></A><H3> expand</H3> <PRE> public static byte[] <B>expand</B>(byte[] list, int newSize)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="expand(char[])"><!-- --></A><H3> expand</H3> <PRE> public static char[] <B>expand</B>(char[] list)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="expand(char[], int)"><!-- --></A><H3> expand</H3> <PRE> public static char[] <B>expand</B>(char[] list, int newSize)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="expand(int[])"><!-- --></A><H3> expand</H3> <PRE> public static int[] <B>expand</B>(int[] list)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="expand(int[], int)"><!-- --></A><H3> expand</H3> <PRE> public static int[] <B>expand</B>(int[] list, int newSize)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="expand(float[])"><!-- --></A><H3> expand</H3> <PRE> public static float[] <B>expand</B>(float[] list)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="expand(float[], int)"><!-- --></A><H3> expand</H3> <PRE> public static float[] <B>expand</B>(float[] list, int newSize)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="expand(java.lang.String[])"><!-- --></A><H3> expand</H3> <PRE> public static java.lang.String[] <B>expand</B>(java.lang.String[] list)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="expand(java.lang.String[], int)"><!-- --></A><H3> expand</H3> <PRE> public static java.lang.String[] <B>expand</B>(java.lang.String[] list, int newSize)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="expand(java.lang.Object)"><!-- --></A><H3> expand</H3> <PRE> public static java.lang.Object <B>expand</B>(java.lang.Object array)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="expand(java.lang.Object, int)"><!-- --></A><H3> expand</H3> <PRE> public static java.lang.Object <B>expand</B>(java.lang.Object list, int newSize)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="append(byte[], byte)"><!-- --></A><H3> append</H3> <PRE> public static byte[] <B>append</B>(byte[] b, byte value)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="append(char[], char)"><!-- --></A><H3> append</H3> <PRE> public static char[] <B>append</B>(char[] b, char value)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="append(int[], int)"><!-- --></A><H3> append</H3> <PRE> public static int[] <B>append</B>(int[] b, int value)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="append(float[], float)"><!-- --></A><H3> append</H3> <PRE> public static float[] <B>append</B>(float[] b, float value)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="append(java.lang.String[], java.lang.String)"><!-- --></A><H3> append</H3> <PRE> public static java.lang.String[] <B>append</B>(java.lang.String[] b, java.lang.String value)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="append(java.lang.Object, java.lang.Object)"><!-- --></A><H3> append</H3> <PRE> public static java.lang.Object <B>append</B>(java.lang.Object b, java.lang.Object value)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="shorten(boolean[])"><!-- --></A><H3> shorten</H3> <PRE> public static boolean[] <B>shorten</B>(boolean[] list)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="shorten(byte[])"><!-- --></A><H3> shorten</H3> <PRE> public static byte[] <B>shorten</B>(byte[] list)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="shorten(char[])"><!-- --></A><H3> shorten</H3> <PRE> public static char[] <B>shorten</B>(char[] list)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="shorten(int[])"><!-- --></A><H3> shorten</H3> <PRE> public static int[] <B>shorten</B>(int[] list)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="shorten(float[])"><!-- --></A><H3> shorten</H3> <PRE> public static float[] <B>shorten</B>(float[] list)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="shorten(java.lang.String[])"><!-- --></A><H3> shorten</H3> <PRE> public static java.lang.String[] <B>shorten</B>(java.lang.String[] list)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="shorten(java.lang.Object)"><!-- --></A><H3> shorten</H3> <PRE> public static java.lang.Object <B>shorten</B>(java.lang.Object list)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="splice(boolean[], boolean, int)"><!-- --></A><H3> splice</H3> <PRE> public static final boolean[] <B>splice</B>(boolean[] list, boolean v, int index)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="splice(boolean[], boolean[], int)"><!-- --></A><H3> splice</H3> <PRE> public static final boolean[] <B>splice</B>(boolean[] list, boolean[] v, int index)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="splice(byte[], byte, int)"><!-- --></A><H3> splice</H3> <PRE> public static final byte[] <B>splice</B>(byte[] list, byte v, int index)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="splice(byte[], byte[], int)"><!-- --></A><H3> splice</H3> <PRE> public static final byte[] <B>splice</B>(byte[] list, byte[] v, int index)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="splice(char[], char, int)"><!-- --></A><H3> splice</H3> <PRE> public static final char[] <B>splice</B>(char[] list, char v, int index)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="splice(char[], char[], int)"><!-- --></A><H3> splice</H3> <PRE> public static final char[] <B>splice</B>(char[] list, char[] v, int index)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="splice(int[], int, int)"><!-- --></A><H3> splice</H3> <PRE> public static final int[] <B>splice</B>(int[] list, int v, int index)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="splice(int[], int[], int)"><!-- --></A><H3> splice</H3> <PRE> public static final int[] <B>splice</B>(int[] list, int[] v, int index)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="splice(float[], float, int)"><!-- --></A><H3> splice</H3> <PRE> public static final float[] <B>splice</B>(float[] list, float v, int index)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="splice(float[], float[], int)"><!-- --></A><H3> splice</H3> <PRE> public static final float[] <B>splice</B>(float[] list, float[] v, int index)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="splice(java.lang.String[], java.lang.String, int)"><!-- --></A><H3> splice</H3> <PRE> public static final java.lang.String[] <B>splice</B>(java.lang.String[] list, java.lang.String v, int index)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="splice(java.lang.String[], java.lang.String[], int)"><!-- --></A><H3> splice</H3> <PRE> public static final java.lang.String[] <B>splice</B>(java.lang.String[] list, java.lang.String[] v, int index)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="splice(java.lang.Object, java.lang.Object, int)"><!-- --></A><H3> splice</H3> <PRE> public static final java.lang.Object <B>splice</B>(java.lang.Object list, java.lang.Object v, int index)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="subset(boolean[], int)"><!-- --></A><H3> subset</H3> <PRE> public static boolean[] <B>subset</B>(boolean[] list, int start)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="subset(boolean[], int, int)"><!-- --></A><H3> subset</H3> <PRE> public static boolean[] <B>subset</B>(boolean[] list, int start, int count)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="subset(byte[], int)"><!-- --></A><H3> subset</H3> <PRE> public static byte[] <B>subset</B>(byte[] list, int start)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="subset(byte[], int, int)"><!-- --></A><H3> subset</H3> <PRE> public static byte[] <B>subset</B>(byte[] list, int start, int count)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="subset(char[], int)"><!-- --></A><H3> subset</H3> <PRE> public static char[] <B>subset</B>(char[] list, int start)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="subset(char[], int, int)"><!-- --></A><H3> subset</H3> <PRE> public static char[] <B>subset</B>(char[] list, int start, int count)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="subset(int[], int)"><!-- --></A><H3> subset</H3> <PRE> public static int[] <B>subset</B>(int[] list, int start)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="subset(int[], int, int)"><!-- --></A><H3> subset</H3> <PRE> public static int[] <B>subset</B>(int[] list, int start, int count)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="subset(float[], int)"><!-- --></A><H3> subset</H3> <PRE> public static float[] <B>subset</B>(float[] list, int start)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="subset(float[], int, int)"><!-- --></A><H3> subset</H3> <PRE> public static float[] <B>subset</B>(float[] list, int start, int count)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="subset(java.lang.String[], int)"><!-- --></A><H3> subset</H3> <PRE> public static java.lang.String[] <B>subset</B>(java.lang.String[] list, int start)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="subset(java.lang.String[], int, int)"><!-- --></A><H3> subset</H3> <PRE> public static java.lang.String[] <B>subset</B>(java.lang.String[] list, int start, int count)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="subset(java.lang.Object, int)"><!-- --></A><H3> subset</H3> <PRE> public static java.lang.Object <B>subset</B>(java.lang.Object list, int start)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="subset(java.lang.Object, int, int)"><!-- --></A><H3> subset</H3> <PRE> public static java.lang.Object <B>subset</B>(java.lang.Object list, int start, int count)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="concat(boolean[], boolean[])"><!-- --></A><H3> concat</H3> <PRE> public static boolean[] <B>concat</B>(boolean[] a, boolean[] b)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="concat(byte[], byte[])"><!-- --></A><H3> concat</H3> <PRE> public static byte[] <B>concat</B>(byte[] a, byte[] b)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="concat(char[], char[])"><!-- --></A><H3> concat</H3> <PRE> public static char[] <B>concat</B>(char[] a, char[] b)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="concat(int[], int[])"><!-- --></A><H3> concat</H3> <PRE> public static int[] <B>concat</B>(int[] a, int[] b)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="concat(float[], float[])"><!-- --></A><H3> concat</H3> <PRE> public static float[] <B>concat</B>(float[] a, float[] b)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="concat(java.lang.String[], java.lang.String[])"><!-- --></A><H3> concat</H3> <PRE> public static java.lang.String[] <B>concat</B>(java.lang.String[] a, java.lang.String[] b)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="concat(java.lang.Object, java.lang.Object)"><!-- --></A><H3> concat</H3> <PRE> public static java.lang.Object <B>concat</B>(java.lang.Object a, java.lang.Object b)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="reverse(boolean[])"><!-- --></A><H3> reverse</H3> <PRE> public static boolean[] <B>reverse</B>(boolean[] list)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="reverse(byte[])"><!-- --></A><H3> reverse</H3> <PRE> public static byte[] <B>reverse</B>(byte[] list)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="reverse(char[])"><!-- --></A><H3> reverse</H3> <PRE> public static char[] <B>reverse</B>(char[] list)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="reverse(int[])"><!-- --></A><H3> reverse</H3> <PRE> public static int[] <B>reverse</B>(int[] list)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="reverse(float[])"><!-- --></A><H3> reverse</H3> <PRE> public static float[] <B>reverse</B>(float[] list)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="reverse(java.lang.String[])"><!-- --></A><H3> reverse</H3> <PRE> public static java.lang.String[] <B>reverse</B>(java.lang.String[] list)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="reverse(java.lang.Object)"><!-- --></A><H3> reverse</H3> <PRE> public static java.lang.Object <B>reverse</B>(java.lang.Object list)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="trim(java.lang.String)"><!-- --></A><H3> trim</H3> <PRE> public static java.lang.String <B>trim</B>(java.lang.String str)</PRE> <DL> <DD>Remove whitespace characters from the beginning and ending of a String. Works like String.trim() but includes the unicode nbsp character as well. <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="trim(java.lang.String[])"><!-- --></A><H3> trim</H3> <PRE> public static java.lang.String[] <B>trim</B>(java.lang.String[] array)</PRE> <DL> <DD>Trim the whitespace from a String array. This returns a new array and does not affect the passed-in array. <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="join(java.lang.String[], char)"><!-- --></A><H3> join</H3> <PRE> public static java.lang.String <B>join</B>(java.lang.String[] str, char separator)</PRE> <DL> <DD>Join an array of Strings together as a single String, separated by the whatever's passed in for the separator. <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="join(java.lang.String[], java.lang.String)"><!-- --></A><H3> join</H3> <PRE> public static java.lang.String <B>join</B>(java.lang.String[] str, java.lang.String separator)</PRE> <DL> <DD>Join an array of Strings together as a single String, separated by the whatever's passed in for the separator. <P> To use this on numbers, first pass the array to nf() or nfs() to get a list of String objects, then use join on that. <PRE> e.g. String stuff[] = { "apple", "bear", "cat" }; String list = join(stuff, ", "); // list is now "apple, bear, cat"</PRE> <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="splitTokens(java.lang.String)"><!-- --></A><H3> splitTokens</H3> <PRE> public static java.lang.String[] <B>splitTokens</B>(java.lang.String what)</PRE> <DL> <DD>Split the provided String at wherever whitespace occurs. Multiple whitespace (extra spaces or tabs or whatever) between items will count as a single break. <P> The whitespace characters are "\t\n\r\f", which are the defaults for java.util.StringTokenizer, plus the unicode non-breaking space character, which is found commonly on files created by or used in conjunction with Mac OS X (character 160, or 0x00A0 in hex). <PRE> i.e. splitTokens("a b") -> { "a", "b" } splitTokens("a b") -> { "a", "b" } splitTokens("a\tb") -> { "a", "b" } splitTokens("a \t b ") -> { "a", "b" }</PRE> <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="splitTokens(java.lang.String, java.lang.String)"><!-- --></A><H3> splitTokens</H3> <PRE> public static java.lang.String[] <B>splitTokens</B>(java.lang.String what, java.lang.String delim)</PRE> <DL> <DD>Splits a string into pieces, using any of the chars in the String 'delim' as separator characters. For instance, in addition to white space, you might want to treat commas as a separator. The delimeter characters won't appear in the returned String array. <PRE> i.e. splitTokens("a, b", " ,") -> { "a", "b" } </PRE> To include all the whitespace possibilities, use the variable WHITESPACE, found in PConstants: <PRE> i.e. splitTokens("a | b", WHITESPACE + "|"); -> { "a", "b" }</PRE> <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="split(java.lang.String, char)"><!-- --></A><H3> split</H3> <PRE> public static java.lang.String[] <B>split</B>(java.lang.String what, char delim)</PRE> <DL> <DD>Split a string into pieces along a specific character. Most commonly used to break up a String along a space or a tab character. <P> This operates differently than the others, where the single delimeter is the only breaking point, and consecutive delimeters will produce an empty string (""). This way, one can split on tab characters, but maintain the column alignments (of say an excel file) where there are empty columns. <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="split(java.lang.String, java.lang.String)"><!-- --></A><H3> split</H3> <PRE> public static java.lang.String[] <B>split</B>(java.lang.String what, java.lang.String delim)</PRE> <DL> <DD>Split a String on a specific delimiter. Unlike Java's String.split() method, this does not parse the delimiter as a regexp because it's more confusing than necessary, and String.split() is always available for those who want regexp. <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="match(java.lang.String, java.lang.String)"><!-- --></A><H3> match</H3> <PRE> public static java.lang.String[] <B>match</B>(java.lang.String what, java.lang.String regexp)</PRE> <DL> <DD>Match a string with a regular expression, and returns the match as an array. The first index is the matching expression, and array elements [1] and higher represent each of the groups (sequences found in parens). This uses multiline matching (Pattern.MULTILINE) and dotall mode (Pattern.DOTALL) by default, so that ^ and $ match the beginning and end of any lines found in the source, and the . operator will also pick up newline characters. <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="matchAll(java.lang.String, java.lang.String)"><!-- --></A><H3> matchAll</H3> <PRE> public static java.lang.String[][] <B>matchAll</B>(java.lang.String what, java.lang.String regexp)</PRE> <DL> <DD>Identical to match(), except that it returns an array of all matches in the specified String, rather than just the first. <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="parseBoolean(int)"><!-- --></A><H3> parseBoolean</H3> <PRE> public static final boolean <B>parseBoolean</B>(int what)</PRE> <DL> <DD><p>Convert an integer to a boolean. Because of how Java handles upgrading numbers, this will also cover byte and char (as they will upgrade to an int without any sort of explicit cast).</p> <p>The preprocessor will convert boolean(what) to parseBoolean(what).</p> <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>false if 0, true if any other number</DL> </DD> </DL> <HR> <A NAME="parseBoolean(java.lang.String)"><!-- --></A><H3> parseBoolean</H3> <PRE> public static final boolean <B>parseBoolean</B>(java.lang.String what)</PRE> <DL> <DD>Convert the string "true" or "false" to a boolean. <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>true if 'what' is "true" or "TRUE", false otherwise</DL> </DD> </DL> <HR> <A NAME="parseBoolean(byte[])"><!-- --></A><H3> parseBoolean</H3> <PRE> public static final boolean[] <B>parseBoolean</B>(byte[] what)</PRE> <DL> <DD>Convert a byte array to a boolean array. Each element will be evaluated identical to the integer case, where a byte equal to zero will return false, and any other value will return true. <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>array of boolean elements</DL> </DD> </DL> <HR> <A NAME="parseBoolean(int[])"><!-- --></A><H3> parseBoolean</H3> <PRE> public static final boolean[] <B>parseBoolean</B>(int[] what)</PRE> <DL> <DD>Convert an int array to a boolean array. An int equal to zero will return false, and any other value will return true. <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>array of boolean elements</DL> </DD> </DL> <HR> <A NAME="parseBoolean(java.lang.String[])"><!-- --></A><H3> parseBoolean</H3> <PRE> public static final boolean[] <B>parseBoolean</B>(java.lang.String[] what)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="parseByte(boolean)"><!-- --></A><H3> parseByte</H3> <PRE> public static final byte <B>parseByte</B>(boolean what)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="parseByte(char)"><!-- --></A><H3> parseByte</H3> <PRE> public static final byte <B>parseByte</B>(char what)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="parseByte(int)"><!-- --></A><H3> parseByte</H3> <PRE> public static final byte <B>parseByte</B>(int what)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="parseByte(float)"><!-- --></A><H3> parseByte</H3> <PRE> public static final byte <B>parseByte</B>(float what)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="parseByte(boolean[])"><!-- --></A><H3> parseByte</H3> <PRE> public static final byte[] <B>parseByte</B>(boolean[] what)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="parseByte(char[])"><!-- --></A><H3> parseByte</H3> <PRE> public static final byte[] <B>parseByte</B>(char[] what)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="parseByte(int[])"><!-- --></A><H3> parseByte</H3> <PRE> public static final byte[] <B>parseByte</B>(int[] what)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="parseByte(float[])"><!-- --></A><H3> parseByte</H3> <PRE> public static final byte[] <B>parseByte</B>(float[] what)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="parseChar(byte)"><!-- --></A><H3> parseChar</H3> <PRE> public static final char <B>parseChar</B>(byte what)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="parseChar(int)"><!-- --></A><H3> parseChar</H3> <PRE> public static final char <B>parseChar</B>(int what)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="parseChar(byte[])"><!-- --></A><H3> parseChar</H3> <PRE> public static final char[] <B>parseChar</B>(byte[] what)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="parseChar(int[])"><!-- --></A><H3> parseChar</H3> <PRE> public static final char[] <B>parseChar</B>(int[] what)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="parseInt(boolean)"><!-- --></A><H3> parseInt</H3> <PRE> public static final int <B>parseInt</B>(boolean what)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="parseInt(byte)"><!-- --></A><H3> parseInt</H3> <PRE> public static final int <B>parseInt</B>(byte what)</PRE> <DL> <DD>Note that parseInt() will un-sign a signed byte value. <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="parseInt(char)"><!-- --></A><H3> parseInt</H3> <PRE> public static final int <B>parseInt</B>(char what)</PRE> <DL> <DD>Note that parseInt('5') is unlike String in the sense that it won't return 5, but the ascii value. This is because ((int) someChar) returns the ascii value, and parseInt() is just longhand for the cast. <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="parseInt(float)"><!-- --></A><H3> parseInt</H3> <PRE> public static final int <B>parseInt</B>(float what)</PRE> <DL> <DD>Same as floor(), or an (int) cast. <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="parseInt(java.lang.String)"><!-- --></A><H3> parseInt</H3> <PRE> public static final int <B>parseInt</B>(java.lang.String what)</PRE> <DL> <DD>Parse a String into an int value. Returns 0 if the value is bad. <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="parseInt(java.lang.String, int)"><!-- --></A><H3> parseInt</H3> <PRE> public static final int <B>parseInt</B>(java.lang.String what, int otherwise)</PRE> <DL> <DD>Parse a String to an int, and provide an alternate value that should be used when the number is invalid. <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="parseInt(boolean[])"><!-- --></A><H3> parseInt</H3> <PRE> public static final int[] <B>parseInt</B>(boolean[] what)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="parseInt(byte[])"><!-- --></A><H3> parseInt</H3> <PRE> public static final int[] <B>parseInt</B>(byte[] what)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="parseInt(char[])"><!-- --></A><H3> parseInt</H3> <PRE> public static final int[] <B>parseInt</B>(char[] what)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="parseInt(float[])"><!-- --></A><H3> parseInt</H3> <PRE> public static int[] <B>parseInt</B>(float[] what)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="parseInt(java.lang.String[])"><!-- --></A><H3> parseInt</H3> <PRE> public static int[] <B>parseInt</B>(java.lang.String[] what)</PRE> <DL> <DD>Make an array of int elements from an array of String objects. If the String can't be parsed as a number, it will be set to zero. String s[] = { "1", "300", "44" }; int numbers[] = parseInt(s); numbers will contain { 1, 300, 44 } <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="parseInt(java.lang.String[], int)"><!-- --></A><H3> parseInt</H3> <PRE> public static int[] <B>parseInt</B>(java.lang.String[] what, int missing)</PRE> <DL> <DD>Make an array of int elements from an array of String objects. If the String can't be parsed as a number, its entry in the array will be set to the value of the "missing" parameter. String s[] = { "1", "300", "apple", "44" }; int numbers[] = parseInt(s, 9999); numbers will contain { 1, 300, 9999, 44 } <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="parseFloat(int)"><!-- --></A><H3> parseFloat</H3> <PRE> public static final float <B>parseFloat</B>(int what)</PRE> <DL> <DD>Convert an int to a float value. Also handles bytes because of Java's rules for upgrading values. <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="parseFloat(java.lang.String)"><!-- --></A><H3> parseFloat</H3> <PRE> public static final float <B>parseFloat</B>(java.lang.String what)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="parseFloat(java.lang.String, float)"><!-- --></A><H3> parseFloat</H3> <PRE> public static final float <B>parseFloat</B>(java.lang.String what, float otherwise)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="parseByte(byte[])"><!-- --></A><H3> parseByte</H3> <PRE> public static final float[] <B>parseByte</B>(byte[] what)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="parseFloat(int[])"><!-- --></A><H3> parseFloat</H3> <PRE> public static final float[] <B>parseFloat</B>(int[] what)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="parseFloat(java.lang.String[])"><!-- --></A><H3> parseFloat</H3> <PRE> public static final float[] <B>parseFloat</B>(java.lang.String[] what)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="parseFloat(java.lang.String[], float)"><!-- --></A><H3> parseFloat</H3> <PRE> public static final float[] <B>parseFloat</B>(java.lang.String[] what, float missing)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="str(boolean)"><!-- --></A><H3> str</H3> <PRE> public static final java.lang.String <B>str</B>(boolean x)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="str(byte)"><!-- --></A><H3> str</H3> <PRE> public static final java.lang.String <B>str</B>(byte x)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="str(char)"><!-- --></A><H3> str</H3> <PRE> public static final java.lang.String <B>str</B>(char x)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="str(int)"><!-- --></A><H3> str</H3> <PRE> public static final java.lang.String <B>str</B>(int x)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="str(float)"><!-- --></A><H3> str</H3> <PRE> public static final java.lang.String <B>str</B>(float x)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="str(boolean[])"><!-- --></A><H3> str</H3> <PRE> public static final java.lang.String[] <B>str</B>(boolean[] x)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="str(byte[])"><!-- --></A><H3> str</H3> <PRE> public static final java.lang.String[] <B>str</B>(byte[] x)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="str(char[])"><!-- --></A><H3> str</H3> <PRE> public static final java.lang.String[] <B>str</B>(char[] x)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="str(int[])"><!-- --></A><H3> str</H3> <PRE> public static final java.lang.String[] <B>str</B>(int[] x)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="str(float[])"><!-- --></A><H3> str</H3> <PRE> public static final java.lang.String[] <B>str</B>(float[] x)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="nf(int[], int)"><!-- --></A><H3> nf</H3> <PRE> public static java.lang.String[] <B>nf</B>(int[] num, int digits)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="nf(int, int)"><!-- --></A><H3> nf</H3> <PRE> public static java.lang.String <B>nf</B>(int num, int digits)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="nfc(int[])"><!-- --></A><H3> nfc</H3> <PRE> public static java.lang.String[] <B>nfc</B>(int[] num)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="nfc(int)"><!-- --></A><H3> nfc</H3> <PRE> public static java.lang.String <B>nfc</B>(int num)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="nfs(int, int)"><!-- --></A><H3> nfs</H3> <PRE> public static java.lang.String <B>nfs</B>(int num, int digits)</PRE> <DL> <DD>number format signed (or space) Formats a number but leaves a blank space in the front when it's positive so that it can be properly aligned with numbers that have a negative sign in front of them. <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="nfs(int[], int)"><!-- --></A><H3> nfs</H3> <PRE> public static java.lang.String[] <B>nfs</B>(int[] num, int digits)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="nfp(int, int)"><!-- --></A><H3> nfp</H3> <PRE> public static java.lang.String <B>nfp</B>(int num, int digits)</PRE> <DL> <DD>number format positive (or plus) Formats a number, always placing a - or + sign in the front when it's negative or positive. <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="nfp(int[], int)"><!-- --></A><H3> nfp</H3> <PRE> public static java.lang.String[] <B>nfp</B>(int[] num, int digits)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="nf(float[], int, int)"><!-- --></A><H3> nf</H3> <PRE> public static java.lang.String[] <B>nf</B>(float[] num, int left, int right)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="nf(float, int, int)"><!-- --></A><H3> nf</H3> <PRE> public static java.lang.String <B>nf</B>(float num, int left, int right)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="nfc(float[], int)"><!-- --></A><H3> nfc</H3> <PRE> public static java.lang.String[] <B>nfc</B>(float[] num, int right)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="nfc(float, int)"><!-- --></A><H3> nfc</H3> <PRE> public static java.lang.String <B>nfc</B>(float num, int right)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="nfs(float[], int, int)"><!-- --></A><H3> nfs</H3> <PRE> public static java.lang.String[] <B>nfs</B>(float[] num, int left, int right)</PRE> <DL> <DD>Number formatter that takes into account whether the number has a sign (positive, negative, etc) in front of it. <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="nfs(float, int, int)"><!-- --></A><H3> nfs</H3> <PRE> public static java.lang.String <B>nfs</B>(float num, int left, int right)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="nfp(float[], int, int)"><!-- --></A><H3> nfp</H3> <PRE> public static java.lang.String[] <B>nfp</B>(float[] num, int left, int right)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="nfp(float, int, int)"><!-- --></A><H3> nfp</H3> <PRE> public static java.lang.String <B>nfp</B>(float num, int left, int right)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="hex(byte)"><!-- --></A><H3> hex</H3> <PRE> public static final java.lang.String <B>hex</B>(byte what)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="hex(char)"><!-- --></A><H3> hex</H3> <PRE> public static final java.lang.String <B>hex</B>(char what)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="hex(int)"><!-- --></A><H3> hex</H3> <PRE> public static final java.lang.String <B>hex</B>(int what)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="hex(int, int)"><!-- --></A><H3> hex</H3> <PRE> public static final java.lang.String <B>hex</B>(int what, int digits)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="unhex(java.lang.String)"><!-- --></A><H3> unhex</H3> <PRE> public static final int <B>unhex</B>(java.lang.String what)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="binary(byte)"><!-- --></A><H3> binary</H3> <PRE> public static final java.lang.String <B>binary</B>(byte what)</PRE> <DL> <DD>Returns a String that contains the binary value of a byte. The returned value will always have 8 digits. <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="binary(char)"><!-- --></A><H3> binary</H3> <PRE> public static final java.lang.String <B>binary</B>(char what)</PRE> <DL> <DD>Returns a String that contains the binary value of a char. The returned value will always have 16 digits because chars are two bytes long. <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="binary(int)"><!-- --></A><H3> binary</H3> <PRE> public static final java.lang.String <B>binary</B>(int what)</PRE> <DL> <DD>Returns a String that contains the binary value of an int. The length depends on the size of the number itself. An int can be up to 32 binary digits, but that seems like overkill for almost any situation, so this function just auto-size. If you want a specific number of digits (like all 32) use binary(int what, int digits) to specify how many digits. <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="binary(int, int)"><!-- --></A><H3> binary</H3> <PRE> public static final java.lang.String <B>binary</B>(int what, int digits)</PRE> <DL> <DD>Returns a String that contains the binary value of an int. The digits parameter determines how many digits will be used. <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="unbinary(java.lang.String)"><!-- --></A><H3> unbinary</H3> <PRE> public static final int <B>unbinary</B>(java.lang.String what)</PRE> <DL> <DD>Unpack a binary String into an int. i.e. unbinary("00001000") would return 8. <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="color(int)"><!-- --></A><H3> color</H3> <PRE> public final int <B>color</B>(int gray)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="color(float)"><!-- --></A><H3> color</H3> <PRE> public final int <B>color</B>(float fgray)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="color(int, int)"><!-- --></A><H3> color</H3> <PRE> public final int <B>color</B>(int gray, int alpha)</PRE> <DL> <DD>As of 0116 this also takes color(#FF8800, alpha) <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="color(float, float)"><!-- --></A><H3> color</H3> <PRE> public final int <B>color</B>(float fgray, float falpha)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="color(int, int, int)"><!-- --></A><H3> color</H3> <PRE> public final int <B>color</B>(int x, int y, int z)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="color(float, float, float)"><!-- --></A><H3> color</H3> <PRE> public final int <B>color</B>(float x, float y, float z)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="color(int, int, int, int)"><!-- --></A><H3> color</H3> <PRE> public final int <B>color</B>(int x, int y, int z, int a)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="color(float, float, float, float)"><!-- --></A><H3> color</H3> <PRE> public final int <B>color</B>(float x, float y, float z, float a)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="setupExternalMessages()"><!-- --></A><H3> setupExternalMessages</H3> <PRE> public void <B>setupExternalMessages</B>()</PRE> <DL> <DD>Set this sketch to communicate its state back to the PDE. <p/> This uses the stderr stream to write positions of the window (so that it will be saved by the PDE for the next run) and notify on quit. See more notes in the Worker class. <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="setupFrameResizeListener()"><!-- --></A><H3> setupFrameResizeListener</H3> <PRE> public void <B>setupFrameResizeListener</B>()</PRE> <DL> <DD>Set up a listener that will fire proper component resize events in cases where frame.setResizable(true) is called. <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="main(java.lang.String[])"><!-- --></A><H3> main</H3> <PRE> public static void <B>main</B>(java.lang.String[] args)</PRE> <DL> <DD>main() method for running this class from the command line. <P> <B>The options shown here are not yet finalized and will be changing over the next several releases.</B> <P> The simplest way to turn and applet into an application is to add the following code to your program: <PRE>static public void main(String args[]) { PApplet.main(new String[] { "YourSketchName" }); }</PRE> This will properly launch your applet from a double-clickable .jar or from the command line. <PRE> Parameters useful for launching or also used by the PDE: --location=x,y upper-lefthand corner of where the applet should appear on screen. if not used, the default is to center on the main screen. --present put the applet into full screen presentation mode. requires java 1.4 or later. --exclusive use full screen exclusive mode when presenting. disables new windows or interaction with other monitors, this is like a "game" mode. --hide-stop use to hide the stop button in situations where you don't want to allow users to exit. also see the FAQ on information for capturing the ESC key when running in presentation mode. --stop-color=#xxxxxx color of the 'stop' text used to quit an sketch when it's in present mode. --bgcolor=#xxxxxx background color of the window. --sketch-path location of where to save files from functions like saveStrings() or saveFrame(). defaults to the folder that the java application was launched from, which means if this isn't set by the pde, everything goes into the same folder as processing.exe. --display=n set what display should be used by this applet. displays are numbered starting from 1. Parameters used by Processing when running via the PDE --external set when the applet is being used by the PDE --editor-location=x,y position of the upper-lefthand corner of the editor window, for placement of applet window </PRE> <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="beginRecord(java.lang.String, java.lang.String)"><!-- --></A><H3> beginRecord</H3> <PRE> public <A HREF="../../processing/core/PGraphics.html" title="class in processing.core">PGraphics</A> <B>beginRecord</B>(java.lang.String renderer, java.lang.String filename)</PRE> <DL> <DD>Begin recording to a new renderer of the specified type, using the width and height of the main drawing surface. <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="beginRecord(processing.core.PGraphics)"><!-- --></A><H3> beginRecord</H3> <PRE> public void <B>beginRecord</B>(<A HREF="../../processing/core/PGraphics.html" title="class in processing.core">PGraphics</A> recorder)</PRE> <DL> <DD>Begin recording (echoing) commands to the specified PGraphics object. <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="endRecord()"><!-- --></A><H3> endRecord</H3> <PRE> public void <B>endRecord</B>()</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="beginRaw(java.lang.String, java.lang.String)"><!-- --></A><H3> beginRaw</H3> <PRE> public <A HREF="../../processing/core/PGraphics.html" title="class in processing.core">PGraphics</A> <B>beginRaw</B>(java.lang.String renderer, java.lang.String filename)</PRE> <DL> <DD>Begin recording raw shape data to a renderer of the specified type, using the width and height of the main drawing surface. If hashmarks (###) are found in the filename, they'll be replaced by the current frame number (frameCount). <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="beginRaw(processing.core.PGraphics)"><!-- --></A><H3> beginRaw</H3> <PRE> public void <B>beginRaw</B>(<A HREF="../../processing/core/PGraphics.html" title="class in processing.core">PGraphics</A> rawGraphics)</PRE> <DL> <DD>Begin recording raw shape data to the specified renderer. This simply echoes to g.beginRaw(), but since is placed here (rather than generated by preproc.pl) for clarity and so that it doesn't echo the command should beginRecord() be in use. <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="endRaw()"><!-- --></A><H3> endRaw</H3> <PRE> public void <B>endRaw</B>()</PRE> <DL> <DD>Stop recording raw shape data to the specified renderer. This simply echoes to g.beginRaw(), but since is placed here (rather than generated by preproc.pl) for clarity and so that it doesn't echo the command should beginRecord() be in use. <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="loadPixels()"><!-- --></A><H3> loadPixels</H3> <PRE> public void <B>loadPixels</B>()</PRE> <DL> <DD>Override the g.pixels[] function to set the pixels[] array that's part of the PApplet object. Allows the use of pixels[] in the code, rather than g.pixels[]. <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="updatePixels()"><!-- --></A><H3> updatePixels</H3> <PRE> public void <B>updatePixels</B>()</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="updatePixels(int, int, int, int)"><!-- --></A><H3> updatePixels</H3> <PRE> public void <B>updatePixels</B>(int x1, int y1, int x2, int y2)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="flush()"><!-- --></A><H3> flush</H3> <PRE> public void <B>flush</B>()</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="hint(int)"><!-- --></A><H3> hint</H3> <PRE> public void <B>hint</B>(int which)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="beginShape()"><!-- --></A><H3> beginShape</H3> <PRE> public void <B>beginShape</B>()</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="beginShape(int)"><!-- --></A><H3> beginShape</H3> <PRE> public void <B>beginShape</B>(int kind)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="edge(boolean)"><!-- --></A><H3> edge</H3> <PRE> public void <B>edge</B>(boolean edge)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="normal(float, float, float)"><!-- --></A><H3> normal</H3> <PRE> public void <B>normal</B>(float nx, float ny, float nz)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="textureMode(int)"><!-- --></A><H3> textureMode</H3> <PRE> public void <B>textureMode</B>(int mode)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="texture(processing.core.PImage)"><!-- --></A><H3> texture</H3> <PRE> public void <B>texture</B>(<A HREF="../../processing/core/PImage.html" title="class in processing.core">PImage</A> image)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="vertex(float, float)"><!-- --></A><H3> vertex</H3> <PRE> public void <B>vertex</B>(float x, float y)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="vertex(float, float, float)"><!-- --></A><H3> vertex</H3> <PRE> public void <B>vertex</B>(float x, float y, float z)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="vertex(float[])"><!-- --></A><H3> vertex</H3> <PRE> public void <B>vertex</B>(float[] v)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="vertex(float, float, float, float)"><!-- --></A><H3> vertex</H3> <PRE> public void <B>vertex</B>(float x, float y, float u, float v)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="vertex(float, float, float, float, float)"><!-- --></A><H3> vertex</H3> <PRE> public void <B>vertex</B>(float x, float y, float z, float u, float v)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="breakShape()"><!-- --></A><H3> breakShape</H3> <PRE> public void <B>breakShape</B>()</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="endShape()"><!-- --></A><H3> endShape</H3> <PRE> public void <B>endShape</B>()</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="endShape(int)"><!-- --></A><H3> endShape</H3> <PRE> public void <B>endShape</B>(int mode)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="bezierVertex(float, float, float, float, float, float)"><!-- --></A><H3> bezierVertex</H3> <PRE> public void <B>bezierVertex</B>(float x2, float y2, float x3, float y3, float x4, float y4)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="bezierVertex(float, float, float, float, float, float, float, float, float)"><!-- --></A><H3> bezierVertex</H3> <PRE> public void <B>bezierVertex</B>(float x2, float y2, float z2, float x3, float y3, float z3, float x4, float y4, float z4)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="curveVertex(float, float)"><!-- --></A><H3> curveVertex</H3> <PRE> public void <B>curveVertex</B>(float x, float y)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="curveVertex(float, float, float)"><!-- --></A><H3> curveVertex</H3> <PRE> public void <B>curveVertex</B>(float x, float y, float z)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="point(float, float)"><!-- --></A><H3> point</H3> <PRE> public void <B>point</B>(float x, float y)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="point(float, float, float)"><!-- --></A><H3> point</H3> <PRE> public void <B>point</B>(float x, float y, float z)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="line(float, float, float, float)"><!-- --></A><H3> line</H3> <PRE> public void <B>line</B>(float x1, float y1, float x2, float y2)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="line(float, float, float, float, float, float)"><!-- --></A><H3> line</H3> <PRE> public void <B>line</B>(float x1, float y1, float z1, float x2, float y2, float z2)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="triangle(float, float, float, float, float, float)"><!-- --></A><H3> triangle</H3> <PRE> public void <B>triangle</B>(float x1, float y1, float x2, float y2, float x3, float y3)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="quad(float, float, float, float, float, float, float, float)"><!-- --></A><H3> quad</H3> <PRE> public void <B>quad</B>(float x1, float y1, float x2, float y2, float x3, float y3, float x4, float y4)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="rectMode(int)"><!-- --></A><H3> rectMode</H3> <PRE> public void <B>rectMode</B>(int mode)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="rect(float, float, float, float)"><!-- --></A><H3> rect</H3> <PRE> public void <B>rect</B>(float a, float b, float c, float d)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="ellipseMode(int)"><!-- --></A><H3> ellipseMode</H3> <PRE> public void <B>ellipseMode</B>(int mode)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="ellipse(float, float, float, float)"><!-- --></A><H3> ellipse</H3> <PRE> public void <B>ellipse</B>(float a, float b, float c, float d)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="arc(float, float, float, float, float, float)"><!-- --></A><H3> arc</H3> <PRE> public void <B>arc</B>(float a, float b, float c, float d, float start, float stop)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="box(float)"><!-- --></A><H3> box</H3> <PRE> public void <B>box</B>(float size)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="box(float, float, float)"><!-- --></A><H3> box</H3> <PRE> public void <B>box</B>(float w, float h, float d)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="sphereDetail(int)"><!-- --></A><H3> sphereDetail</H3> <PRE> public void <B>sphereDetail</B>(int res)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="sphereDetail(int, int)"><!-- --></A><H3> sphereDetail</H3> <PRE> public void <B>sphereDetail</B>(int ures, int vres)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="sphere(float)"><!-- --></A><H3> sphere</H3> <PRE> public void <B>sphere</B>(float r)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="bezierPoint(float, float, float, float, float)"><!-- --></A><H3> bezierPoint</H3> <PRE> public float <B>bezierPoint</B>(float a, float b, float c, float d, float t)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="bezierTangent(float, float, float, float, float)"><!-- --></A><H3> bezierTangent</H3> <PRE> public float <B>bezierTangent</B>(float a, float b, float c, float d, float t)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="bezierDetail(int)"><!-- --></A><H3> bezierDetail</H3> <PRE> public void <B>bezierDetail</B>(int detail)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="bezier(float, float, float, float, float, float, float, float)"><!-- --></A><H3> bezier</H3> <PRE> public void <B>bezier</B>(float x1, float y1, float x2, float y2, float x3, float y3, float x4, float y4)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="bezier(float, float, float, float, float, float, float, float, float, float, float, float)"><!-- --></A><H3> bezier</H3> <PRE> public void <B>bezier</B>(float x1, float y1, float z1, float x2, float y2, float z2, float x3, float y3, float z3, float x4, float y4, float z4)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="curvePoint(float, float, float, float, float)"><!-- --></A><H3> curvePoint</H3> <PRE> public float <B>curvePoint</B>(float a, float b, float c, float d, float t)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="curveTangent(float, float, float, float, float)"><!-- --></A><H3> curveTangent</H3> <PRE> public float <B>curveTangent</B>(float a, float b, float c, float d, float t)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="curveDetail(int)"><!-- --></A><H3> curveDetail</H3> <PRE> public void <B>curveDetail</B>(int detail)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="curveTightness(float)"><!-- --></A><H3> curveTightness</H3> <PRE> public void <B>curveTightness</B>(float tightness)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="curve(float, float, float, float, float, float, float, float)"><!-- --></A><H3> curve</H3> <PRE> public void <B>curve</B>(float x1, float y1, float x2, float y2, float x3, float y3, float x4, float y4)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="curve(float, float, float, float, float, float, float, float, float, float, float, float)"><!-- --></A><H3> curve</H3> <PRE> public void <B>curve</B>(float x1, float y1, float z1, float x2, float y2, float z2, float x3, float y3, float z3, float x4, float y4, float z4)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="smooth()"><!-- --></A><H3> smooth</H3> <PRE> public void <B>smooth</B>()</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="noSmooth()"><!-- --></A><H3> noSmooth</H3> <PRE> public void <B>noSmooth</B>()</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="imageMode(int)"><!-- --></A><H3> imageMode</H3> <PRE> public void <B>imageMode</B>(int mode)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="image(processing.core.PImage, float, float)"><!-- --></A><H3> image</H3> <PRE> public void <B>image</B>(<A HREF="../../processing/core/PImage.html" title="class in processing.core">PImage</A> image, float x, float y)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="image(processing.core.PImage, float, float, float, float)"><!-- --></A><H3> image</H3> <PRE> public void <B>image</B>(<A HREF="../../processing/core/PImage.html" title="class in processing.core">PImage</A> image, float x, float y, float c, float d)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="image(processing.core.PImage, float, float, float, float, int, int, int, int)"><!-- --></A><H3> image</H3> <PRE> public void <B>image</B>(<A HREF="../../processing/core/PImage.html" title="class in processing.core">PImage</A> image, float a, float b, float c, float d, int u1, int v1, int u2, int v2)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="shapeMode(int)"><!-- --></A><H3> shapeMode</H3> <PRE> public void <B>shapeMode</B>(int mode)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="shape(processing.core.PShape)"><!-- --></A><H3> shape</H3> <PRE> public void <B>shape</B>(<A HREF="../../processing/core/PShape.html" title="class in processing.core">PShape</A> shape)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="shape(processing.core.PShape, float, float)"><!-- --></A><H3> shape</H3> <PRE> public void <B>shape</B>(<A HREF="../../processing/core/PShape.html" title="class in processing.core">PShape</A> shape, float x, float y)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="shape(processing.core.PShape, float, float, float, float)"><!-- --></A><H3> shape</H3> <PRE> public void <B>shape</B>(<A HREF="../../processing/core/PShape.html" title="class in processing.core">PShape</A> shape, float x, float y, float c, float d)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="textAlign(int)"><!-- --></A><H3> textAlign</H3> <PRE> public void <B>textAlign</B>(int align)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="textAlign(int, int)"><!-- --></A><H3> textAlign</H3> <PRE> public void <B>textAlign</B>(int alignX, int alignY)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="textAscent()"><!-- --></A><H3> textAscent</H3> <PRE> public float <B>textAscent</B>()</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="textDescent()"><!-- --></A><H3> textDescent</H3> <PRE> public float <B>textDescent</B>()</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="textFont(processing.core.PFont)"><!-- --></A><H3> textFont</H3> <PRE> public void <B>textFont</B>(<A HREF="../../processing/core/PFont.html" title="class in processing.core">PFont</A> which)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="textFont(processing.core.PFont, float)"><!-- --></A><H3> textFont</H3> <PRE> public void <B>textFont</B>(<A HREF="../../processing/core/PFont.html" title="class in processing.core">PFont</A> which, float size)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="textLeading(float)"><!-- --></A><H3> textLeading</H3> <PRE> public void <B>textLeading</B>(float leading)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="textMode(int)"><!-- --></A><H3> textMode</H3> <PRE> public void <B>textMode</B>(int mode)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="textSize(float)"><!-- --></A><H3> textSize</H3> <PRE> public void <B>textSize</B>(float size)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="textWidth(char)"><!-- --></A><H3> textWidth</H3> <PRE> public float <B>textWidth</B>(char c)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="textWidth(java.lang.String)"><!-- --></A><H3> textWidth</H3> <PRE> public float <B>textWidth</B>(java.lang.String str)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="text(char)"><!-- --></A><H3> text</H3> <PRE> public void <B>text</B>(char c)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="text(char, float, float)"><!-- --></A><H3> text</H3> <PRE> public void <B>text</B>(char c, float x, float y)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="text(char, float, float, float)"><!-- --></A><H3> text</H3> <PRE> public void <B>text</B>(char c, float x, float y, float z)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="text(java.lang.String)"><!-- --></A><H3> text</H3> <PRE> public void <B>text</B>(java.lang.String str)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="text(java.lang.String, float, float)"><!-- --></A><H3> text</H3> <PRE> public void <B>text</B>(java.lang.String str, float x, float y)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="text(char[], int, int, float, float)"><!-- --></A><H3> text</H3> <PRE> public void <B>text</B>(char[] chars, int start, int stop, float x, float y)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="text(java.lang.String, float, float, float)"><!-- --></A><H3> text</H3> <PRE> public void <B>text</B>(java.lang.String str, float x, float y, float z)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="text(char[], int, int, float, float, float)"><!-- --></A><H3> text</H3> <PRE> public void <B>text</B>(char[] chars, int start, int stop, float x, float y, float z)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="text(java.lang.String, float, float, float, float)"><!-- --></A><H3> text</H3> <PRE> public void <B>text</B>(java.lang.String str, float x1, float y1, float x2, float y2)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="text(java.lang.String, float, float, float, float, float)"><!-- --></A><H3> text</H3> <PRE> public void <B>text</B>(java.lang.String s, float x1, float y1, float x2, float y2, float z)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="text(int, float, float)"><!-- --></A><H3> text</H3> <PRE> public void <B>text</B>(int num, float x, float y)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="text(int, float, float, float)"><!-- --></A><H3> text</H3> <PRE> public void <B>text</B>(int num, float x, float y, float z)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="text(float, float, float)"><!-- --></A><H3> text</H3> <PRE> public void <B>text</B>(float num, float x, float y)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="text(float, float, float, float)"><!-- --></A><H3> text</H3> <PRE> public void <B>text</B>(float num, float x, float y, float z)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="pushMatrix()"><!-- --></A><H3> pushMatrix</H3> <PRE> public void <B>pushMatrix</B>()</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="popMatrix()"><!-- --></A><H3> popMatrix</H3> <PRE> public void <B>popMatrix</B>()</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="translate(float, float)"><!-- --></A><H3> translate</H3> <PRE> public void <B>translate</B>(float tx, float ty)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="translate(float, float, float)"><!-- --></A><H3> translate</H3> <PRE> public void <B>translate</B>(float tx, float ty, float tz)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="rotate(float)"><!-- --></A><H3> rotate</H3> <PRE> public void <B>rotate</B>(float angle)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="rotateX(float)"><!-- --></A><H3> rotateX</H3> <PRE> public void <B>rotateX</B>(float angle)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="rotateY(float)"><!-- --></A><H3> rotateY</H3> <PRE> public void <B>rotateY</B>(float angle)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="rotateZ(float)"><!-- --></A><H3> rotateZ</H3> <PRE> public void <B>rotateZ</B>(float angle)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="rotate(float, float, float, float)"><!-- --></A><H3> rotate</H3> <PRE> public void <B>rotate</B>(float angle, float vx, float vy, float vz)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="scale(float)"><!-- --></A><H3> scale</H3> <PRE> public void <B>scale</B>(float s)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="scale(float, float)"><!-- --></A><H3> scale</H3> <PRE> public void <B>scale</B>(float sx, float sy)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="scale(float, float, float)"><!-- --></A><H3> scale</H3> <PRE> public void <B>scale</B>(float x, float y, float z)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="resetMatrix()"><!-- --></A><H3> resetMatrix</H3> <PRE> public void <B>resetMatrix</B>()</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="applyMatrix(processing.core.PMatrix)"><!-- --></A><H3> applyMatrix</H3> <PRE> public void <B>applyMatrix</B>(<A HREF="../../processing/core/PMatrix.html" title="interface in processing.core">PMatrix</A> source)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="applyMatrix(processing.core.PMatrix2D)"><!-- --></A><H3> applyMatrix</H3> <PRE> public void <B>applyMatrix</B>(<A HREF="../../processing/core/PMatrix2D.html" title="class in processing.core">PMatrix2D</A> source)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="applyMatrix(float, float, float, float, float, float)"><!-- --></A><H3> applyMatrix</H3> <PRE> public void <B>applyMatrix</B>(float n00, float n01, float n02, float n10, float n11, float n12)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="applyMatrix(processing.core.PMatrix3D)"><!-- --></A><H3> applyMatrix</H3> <PRE> public void <B>applyMatrix</B>(<A HREF="../../processing/core/PMatrix3D.html" title="class in processing.core">PMatrix3D</A> source)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="applyMatrix(float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float)"><!-- --></A><H3> applyMatrix</H3> <PRE> public void <B>applyMatrix</B>(float n00, float n01, float n02, float n03, float n10, float n11, float n12, float n13, float n20, float n21, float n22, float n23, float n30, float n31, float n32, float n33)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="getMatrix()"><!-- --></A><H3> getMatrix</H3> <PRE> public <A HREF="../../processing/core/PMatrix.html" title="interface in processing.core">PMatrix</A> <B>getMatrix</B>()</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="getMatrix(processing.core.PMatrix2D)"><!-- --></A><H3> getMatrix</H3> <PRE> public <A HREF="../../processing/core/PMatrix2D.html" title="class in processing.core">PMatrix2D</A> <B>getMatrix</B>(<A HREF="../../processing/core/PMatrix2D.html" title="class in processing.core">PMatrix2D</A> target)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="getMatrix(processing.core.PMatrix3D)"><!-- --></A><H3> getMatrix</H3> <PRE> public <A HREF="../../processing/core/PMatrix3D.html" title="class in processing.core">PMatrix3D</A> <B>getMatrix</B>(<A HREF="../../processing/core/PMatrix3D.html" title="class in processing.core">PMatrix3D</A> target)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="setMatrix(processing.core.PMatrix)"><!-- --></A><H3> setMatrix</H3> <PRE> public void <B>setMatrix</B>(<A HREF="../../processing/core/PMatrix.html" title="interface in processing.core">PMatrix</A> source)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="setMatrix(processing.core.PMatrix2D)"><!-- --></A><H3> setMatrix</H3> <PRE> public void <B>setMatrix</B>(<A HREF="../../processing/core/PMatrix2D.html" title="class in processing.core">PMatrix2D</A> source)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="setMatrix(processing.core.PMatrix3D)"><!-- --></A><H3> setMatrix</H3> <PRE> public void <B>setMatrix</B>(<A HREF="../../processing/core/PMatrix3D.html" title="class in processing.core">PMatrix3D</A> source)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="printMatrix()"><!-- --></A><H3> printMatrix</H3> <PRE> public void <B>printMatrix</B>()</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="beginCamera()"><!-- --></A><H3> beginCamera</H3> <PRE> public void <B>beginCamera</B>()</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="endCamera()"><!-- --></A><H3> endCamera</H3> <PRE> public void <B>endCamera</B>()</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="camera()"><!-- --></A><H3> camera</H3> <PRE> public void <B>camera</B>()</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="camera(float, float, float, float, float, float, float, float, float)"><!-- --></A><H3> camera</H3> <PRE> public void <B>camera</B>(float eyeX, float eyeY, float eyeZ, float centerX, float centerY, float centerZ, float upX, float upY, float upZ)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="printCamera()"><!-- --></A><H3> printCamera</H3> <PRE> public void <B>printCamera</B>()</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="ortho()"><!-- --></A><H3> ortho</H3> <PRE> public void <B>ortho</B>()</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="ortho(float, float, float, float, float, float)"><!-- --></A><H3> ortho</H3> <PRE> public void <B>ortho</B>(float left, float right, float bottom, float top, float near, float far)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="perspective()"><!-- --></A><H3> perspective</H3> <PRE> public void <B>perspective</B>()</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="perspective(float, float, float, float)"><!-- --></A><H3> perspective</H3> <PRE> public void <B>perspective</B>(float fovy, float aspect, float zNear, float zFar)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="frustum(float, float, float, float, float, float)"><!-- --></A><H3> frustum</H3> <PRE> public void <B>frustum</B>(float left, float right, float bottom, float top, float near, float far)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="printProjection()"><!-- --></A><H3> printProjection</H3> <PRE> public void <B>printProjection</B>()</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="screenX(float, float)"><!-- --></A><H3> screenX</H3> <PRE> public float <B>screenX</B>(float x, float y)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="screenY(float, float)"><!-- --></A><H3> screenY</H3> <PRE> public float <B>screenY</B>(float x, float y)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="screenX(float, float, float)"><!-- --></A><H3> screenX</H3> <PRE> public float <B>screenX</B>(float x, float y, float z)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="screenY(float, float, float)"><!-- --></A><H3> screenY</H3> <PRE> public float <B>screenY</B>(float x, float y, float z)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="screenZ(float, float, float)"><!-- --></A><H3> screenZ</H3> <PRE> public float <B>screenZ</B>(float x, float y, float z)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="modelX(float, float, float)"><!-- --></A><H3> modelX</H3> <PRE> public float <B>modelX</B>(float x, float y, float z)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="modelY(float, float, float)"><!-- --></A><H3> modelY</H3> <PRE> public float <B>modelY</B>(float x, float y, float z)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="modelZ(float, float, float)"><!-- --></A><H3> modelZ</H3> <PRE> public float <B>modelZ</B>(float x, float y, float z)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="pushStyle()"><!-- --></A><H3> pushStyle</H3> <PRE> public void <B>pushStyle</B>()</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="popStyle()"><!-- --></A><H3> popStyle</H3> <PRE> public void <B>popStyle</B>()</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="style(processing.core.PStyle)"><!-- --></A><H3> style</H3> <PRE> public void <B>style</B>(<A HREF="../../processing/core/PStyle.html" title="class in processing.core">PStyle</A> s)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="strokeWeight(float)"><!-- --></A><H3> strokeWeight</H3> <PRE> public void <B>strokeWeight</B>(float weight)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="strokeJoin(int)"><!-- --></A><H3> strokeJoin</H3> <PRE> public void <B>strokeJoin</B>(int join)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="strokeCap(int)"><!-- --></A><H3> strokeCap</H3> <PRE> public void <B>strokeCap</B>(int cap)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="noStroke()"><!-- --></A><H3> noStroke</H3> <PRE> public void <B>noStroke</B>()</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="stroke(int)"><!-- --></A><H3> stroke</H3> <PRE> public void <B>stroke</B>(int rgb)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="stroke(int, float)"><!-- --></A><H3> stroke</H3> <PRE> public void <B>stroke</B>(int rgb, float alpha)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="stroke(float)"><!-- --></A><H3> stroke</H3> <PRE> public void <B>stroke</B>(float gray)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="stroke(float, float)"><!-- --></A><H3> stroke</H3> <PRE> public void <B>stroke</B>(float gray, float alpha)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="stroke(float, float, float)"><!-- --></A><H3> stroke</H3> <PRE> public void <B>stroke</B>(float x, float y, float z)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="stroke(float, float, float, float)"><!-- --></A><H3> stroke</H3> <PRE> public void <B>stroke</B>(float x, float y, float z, float a)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="noTint()"><!-- --></A><H3> noTint</H3> <PRE> public void <B>noTint</B>()</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="tint(int)"><!-- --></A><H3> tint</H3> <PRE> public void <B>tint</B>(int rgb)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="tint(int, float)"><!-- --></A><H3> tint</H3> <PRE> public void <B>tint</B>(int rgb, float alpha)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="tint(float)"><!-- --></A><H3> tint</H3> <PRE> public void <B>tint</B>(float gray)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="tint(float, float)"><!-- --></A><H3> tint</H3> <PRE> public void <B>tint</B>(float gray, float alpha)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="tint(float, float, float)"><!-- --></A><H3> tint</H3> <PRE> public void <B>tint</B>(float x, float y, float z)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="tint(float, float, float, float)"><!-- --></A><H3> tint</H3> <PRE> public void <B>tint</B>(float x, float y, float z, float a)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="noFill()"><!-- --></A><H3> noFill</H3> <PRE> public void <B>noFill</B>()</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="fill(int)"><!-- --></A><H3> fill</H3> <PRE> public void <B>fill</B>(int rgb)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="fill(int, float)"><!-- --></A><H3> fill</H3> <PRE> public void <B>fill</B>(int rgb, float alpha)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="fill(float)"><!-- --></A><H3> fill</H3> <PRE> public void <B>fill</B>(float gray)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="fill(float, float)"><!-- --></A><H3> fill</H3> <PRE> public void <B>fill</B>(float gray, float alpha)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="fill(float, float, float)"><!-- --></A><H3> fill</H3> <PRE> public void <B>fill</B>(float x, float y, float z)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="fill(float, float, float, float)"><!-- --></A><H3> fill</H3> <PRE> public void <B>fill</B>(float x, float y, float z, float a)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="ambient(int)"><!-- --></A><H3> ambient</H3> <PRE> public void <B>ambient</B>(int rgb)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="ambient(float)"><!-- --></A><H3> ambient</H3> <PRE> public void <B>ambient</B>(float gray)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="ambient(float, float, float)"><!-- --></A><H3> ambient</H3> <PRE> public void <B>ambient</B>(float x, float y, float z)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="specular(int)"><!-- --></A><H3> specular</H3> <PRE> public void <B>specular</B>(int rgb)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="specular(float)"><!-- --></A><H3> specular</H3> <PRE> public void <B>specular</B>(float gray)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="specular(float, float, float)"><!-- --></A><H3> specular</H3> <PRE> public void <B>specular</B>(float x, float y, float z)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="shininess(float)"><!-- --></A><H3> shininess</H3> <PRE> public void <B>shininess</B>(float shine)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="emissive(int)"><!-- --></A><H3> emissive</H3> <PRE> public void <B>emissive</B>(int rgb)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="emissive(float)"><!-- --></A><H3> emissive</H3> <PRE> public void <B>emissive</B>(float gray)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="emissive(float, float, float)"><!-- --></A><H3> emissive</H3> <PRE> public void <B>emissive</B>(float x, float y, float z)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="lights()"><!-- --></A><H3> lights</H3> <PRE> public void <B>lights</B>()</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="noLights()"><!-- --></A><H3> noLights</H3> <PRE> public void <B>noLights</B>()</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="ambientLight(float, float, float)"><!-- --></A><H3> ambientLight</H3> <PRE> public void <B>ambientLight</B>(float red, float green, float blue)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="ambientLight(float, float, float, float, float, float)"><!-- --></A><H3> ambientLight</H3> <PRE> public void <B>ambientLight</B>(float red, float green, float blue, float x, float y, float z)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="directionalLight(float, float, float, float, float, float)"><!-- --></A><H3> directionalLight</H3> <PRE> public void <B>directionalLight</B>(float red, float green, float blue, float nx, float ny, float nz)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="pointLight(float, float, float, float, float, float)"><!-- --></A><H3> pointLight</H3> <PRE> public void <B>pointLight</B>(float red, float green, float blue, float x, float y, float z)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="spotLight(float, float, float, float, float, float, float, float, float, float, float)"><!-- --></A><H3> spotLight</H3> <PRE> public void <B>spotLight</B>(float red, float green, float blue, float x, float y, float z, float nx, float ny, float nz, float angle, float concentration)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="lightFalloff(float, float, float)"><!-- --></A><H3> lightFalloff</H3> <PRE> public void <B>lightFalloff</B>(float constant, float linear, float quadratic)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="lightSpecular(float, float, float)"><!-- --></A><H3> lightSpecular</H3> <PRE> public void <B>lightSpecular</B>(float x, float y, float z)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="background(int)"><!-- --></A><H3> background</H3> <PRE> public void <B>background</B>(int rgb)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="background(int, float)"><!-- --></A><H3> background</H3> <PRE> public void <B>background</B>(int rgb, float alpha)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="background(float)"><!-- --></A><H3> background</H3> <PRE> public void <B>background</B>(float gray)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="background(float, float)"><!-- --></A><H3> background</H3> <PRE> public void <B>background</B>(float gray, float alpha)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="background(float, float, float)"><!-- --></A><H3> background</H3> <PRE> public void <B>background</B>(float x, float y, float z)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="background(float, float, float, float)"><!-- --></A><H3> background</H3> <PRE> public void <B>background</B>(float x, float y, float z, float a)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="background(processing.core.PImage)"><!-- --></A><H3> background</H3> <PRE> public void <B>background</B>(<A HREF="../../processing/core/PImage.html" title="class in processing.core">PImage</A> image)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="colorMode(int)"><!-- --></A><H3> colorMode</H3> <PRE> public void <B>colorMode</B>(int mode)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="colorMode(int, float)"><!-- --></A><H3> colorMode</H3> <PRE> public void <B>colorMode</B>(int mode, float max)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="colorMode(int, float, float, float)"><!-- --></A><H3> colorMode</H3> <PRE> public void <B>colorMode</B>(int mode, float maxX, float maxY, float maxZ)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="colorMode(int, float, float, float, float)"><!-- --></A><H3> colorMode</H3> <PRE> public void <B>colorMode</B>(int mode, float maxX, float maxY, float maxZ, float maxA)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="alpha(int)"><!-- --></A><H3> alpha</H3> <PRE> public final float <B>alpha</B>(int what)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="red(int)"><!-- --></A><H3> red</H3> <PRE> public final float <B>red</B>(int what)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="green(int)"><!-- --></A><H3> green</H3> <PRE> public final float <B>green</B>(int what)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="blue(int)"><!-- --></A><H3> blue</H3> <PRE> public final float <B>blue</B>(int what)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="hue(int)"><!-- --></A><H3> hue</H3> <PRE> public final float <B>hue</B>(int what)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="saturation(int)"><!-- --></A><H3> saturation</H3> <PRE> public final float <B>saturation</B>(int what)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="brightness(int)"><!-- --></A><H3> brightness</H3> <PRE> public final float <B>brightness</B>(int what)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="lerpColor(int, int, float)"><!-- --></A><H3> lerpColor</H3> <PRE> public int <B>lerpColor</B>(int c1, int c2, float amt)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="lerpColor(int, int, float, int)"><!-- --></A><H3> lerpColor</H3> <PRE> public static int <B>lerpColor</B>(int c1, int c2, float amt, int mode)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="displayable()"><!-- --></A><H3> displayable</H3> <PRE> public boolean <B>displayable</B>()</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="setCache(java.lang.Object, java.lang.Object)"><!-- --></A><H3> setCache</H3> <PRE> public void <B>setCache</B>(java.lang.Object parent, java.lang.Object storage)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="getCache(java.lang.Object)"><!-- --></A><H3> getCache</H3> <PRE> public java.lang.Object <B>getCache</B>(java.lang.Object parent)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="removeCache(java.lang.Object)"><!-- --></A><H3> removeCache</H3> <PRE> public void <B>removeCache</B>(java.lang.Object parent)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="get(int, int)"><!-- --></A><H3> get</H3> <PRE> public int <B>get</B>(int x, int y)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="get(int, int, int, int)"><!-- --></A><H3> get</H3> <PRE> public <A HREF="../../processing/core/PImage.html" title="class in processing.core">PImage</A> <B>get</B>(int x, int y, int w, int h)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="get()"><!-- --></A><H3> get</H3> <PRE> public <A HREF="../../processing/core/PImage.html" title="class in processing.core">PImage</A> <B>get</B>()</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="set(int, int, int)"><!-- --></A><H3> set</H3> <PRE> public void <B>set</B>(int x, int y, int c)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="set(int, int, processing.core.PImage)"><!-- --></A><H3> set</H3> <PRE> public void <B>set</B>(int x, int y, <A HREF="../../processing/core/PImage.html" title="class in processing.core">PImage</A> src)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="mask(int[])"><!-- --></A><H3> mask</H3> <PRE> public void <B>mask</B>(int[] alpha)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="mask(processing.core.PImage)"><!-- --></A><H3> mask</H3> <PRE> public void <B>mask</B>(<A HREF="../../processing/core/PImage.html" title="class in processing.core">PImage</A> alpha)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="filter(int)"><!-- --></A><H3> filter</H3> <PRE> public void <B>filter</B>(int kind)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="filter(int, float)"><!-- --></A><H3> filter</H3> <PRE> public void <B>filter</B>(int kind, float param)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="copy(int, int, int, int, int, int, int, int)"><!-- --></A><H3> copy</H3> <PRE> public void <B>copy</B>(int sx, int sy, int sw, int sh, int dx, int dy, int dw, int dh)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="copy(processing.core.PImage, int, int, int, int, int, int, int, int)"><!-- --></A><H3> copy</H3> <PRE> public void <B>copy</B>(<A HREF="../../processing/core/PImage.html" title="class in processing.core">PImage</A> src, int sx, int sy, int sw, int sh, int dx, int dy, int dw, int dh)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="blendColor(int, int, int)"><!-- --></A><H3> blendColor</H3> <PRE> public static int <B>blendColor</B>(int c1, int c2, int mode)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="blend(int, int, int, int, int, int, int, int, int)"><!-- --></A><H3> blend</H3> <PRE> public void <B>blend</B>(int sx, int sy, int sw, int sh, int dx, int dy, int dw, int dh, int mode)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="blend(processing.core.PImage, int, int, int, int, int, int, int, int, int)"><!-- --></A><H3> blend</H3> <PRE> public void <B>blend</B>(<A HREF="../../processing/core/PImage.html" title="class in processing.core">PImage</A> src, int sx, int sy, int sw, int sh, int dx, int dy, int dw, int dh, int mode)</PRE> <DL> <DD><DL> </DL> </DD> <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> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> PREV CLASS <A HREF="../../processing/core/PApplet.RegisteredMethods.html" title="class in processing.core"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../index.html?processing/core/PApplet.html" target="_top"><B>FRAMES</B></A> <A HREF="PApplet.html" target="_top"><B>NO FRAMES</B></A> <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: <A HREF="#nested_class_summary">NESTED</A> | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_bottom"></A> <!-- ======== END OF BOTTOM NAVBAR ======= --> <HR> </BODY> </HTML>