com.nootropic.processing.layers
Class Layer

java.lang.Object
  extended by com.nootropic.processing.layers.Layer

public abstract class Layer
extends java.lang.Object

This class represents a layer in a sketch. The Layer object added to an AppletLayers object which manages the layers for a Processing sketch. This class contains all the drawing primitives of a PApplet object in order to propagate those drawing calls to the underlying PGraphics object. For example, the method line(x1, y1, x2, y2) calls the corresponding method in the PGraphics object to perform the drawing.

Author:
Michael Krumpus

Field Summary
 processing.core.PGraphics g
          The PGraphics object on which all drawing methods are invoked.
 processing.core.PApplet parent
          The parent PApplet.
 int[] pixels
          Array of pixels for this Layer.
 processing.core.PGraphics recorder
          Optional recorder PGraphics for this Layer.
 
Constructor Summary
Layer(processing.core.PApplet parent)
          Create a Layer object in the specified PApplet using default renderer JAVA2D.
Layer(processing.core.PApplet parent, java.lang.String renderer)
          Create a Layer object in the specified PApplet using the specified renderer.
 
Method Summary
 float alpha(int what)
          Pass-through method to underlying PGraphics object.
 void ambient(float gray)
          Pass-through method to underlying PGraphics object.
 void ambient(float x, float y, float z)
          Pass-through method to underlying PGraphics object.
 void ambient(int rgb)
          Pass-through method to underlying PGraphics object.
 void ambientLight(float red, float green, float blue)
          Pass-through method to underlying PGraphics object.
 void ambientLight(float red, float green, float blue, float x, float y, float z)
          Pass-through method to underlying PGraphics object.
 void applyMatrix(float n00, float n01, float n02, float n10, float n11, float n12)
          Pass-through method to underlying PGraphics object.
 void applyMatrix(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)
          Pass-through method to underlying PGraphics object.
 void arc(float a, float b, float c, float d, float start, float stop)
          Pass-through method to underlying PGraphics object.
 void background(float gray)
          Pass-through method to underlying PGraphics object.
 void background(float gray, float alpha)
          Pass-through method to underlying PGraphics object.
 void background(float x, float y, float z)
          Pass-through method to underlying PGraphics object.
 void background(float x, float y, float z, float a)
          Pass-through method to underlying PGraphics object.
 void background(int rgb)
          Pass-through method to underlying PGraphics object.
 void background(int rgb, float alpha)
          Pass-through method to underlying PGraphics object.
 void background(processing.core.PImage image)
          Pass-through method to underlying PGraphics object.
 void beginCamera()
          Pass-through method to underlying PGraphics object.
 void beginRaw(processing.core.PGraphics rawGraphics)
          Pass-through method to underlying PGraphics object.
 void beginRecord(processing.core.PGraphics recorder)
           
 void beginShape()
          Pass-through method to underlying PGraphics object.
 void beginShape(int kind)
          Pass-through method to underlying PGraphics object.
 void bezier(float x1, float y1, float x2, float y2, float x3, float y3, float x4, float y4)
          Pass-through method to underlying PGraphics object.
 void bezier(float x1, float y1, float z1, float x2, float y2, float z2, float x3, float y3, float z3, float x4, float y4, float z4)
          Pass-through method to underlying PGraphics object.
 void bezierDetail(int detail)
          Pass-through method to underlying PGraphics object.
 float bezierPoint(float a, float b, float c, float d, float t)
          Pass-through method to underlying PGraphics object.
 float bezierTangent(float a, float b, float c, float d, float t)
          Pass-through method to underlying PGraphics object.
 void bezierVertex(float x2, float y2, float x3, float y3, float x4, float y4)
          Pass-through method to underlying PGraphics object.
 void bezierVertex(float x2, float y2, float z2, float x3, float y3, float z3, float x4, float y4, float z4)
          Pass-through method to underlying PGraphics object.
 void blend(int sx1, int sy1, int sx2, int sy2, int dx1, int dy1, int dx2, int dy2, int mode)
          Pass-through method to underlying PGraphics object.
 void blend(processing.core.PImage src, int sx1, int sy1, int sx2, int sy2, int dx1, int dy1, int dx2, int dy2, int mode)
          Pass-through method to underlying PGraphics object.
static int blendColor(int c1, int c2, int mode)
          Pass-through method to underlying PGraphics object.
 float blue(int what)
          Pass-through method to underlying PGraphics object.
 void box(float size)
          Pass-through method to underlying PGraphics object.
 void box(float w, float h, float d)
          Pass-through method to underlying PGraphics object.
 void breakShape()
          Pass-through method to underlying PGraphics object.
 float brightness(int what)
          Pass-through method to underlying PGraphics object.
 void camera()
          Pass-through method to underlying PGraphics object.
 void camera(float eyeX, float eyeY, float eyeZ, float centerX, float centerY, float centerZ, float upX, float upY, float upZ)
          Pass-through method to underlying PGraphics object.
 void colorMode(int mode)
          Pass-through method to underlying PGraphics object.
 void colorMode(int mode, float max)
          Pass-through method to underlying PGraphics object.
 void colorMode(int mode, float maxX, float maxY, float maxZ)
          Pass-through method to underlying PGraphics object.
 void colorMode(int mode, float maxX, float maxY, float maxZ, float maxA)
          Pass-through method to underlying PGraphics object.
 void copy(int sx1, int sy1, int sx2, int sy2, int dx1, int dy1, int dx2, int dy2)
          Pass-through method to underlying PGraphics object.
 void copy(processing.core.PImage src, int sx1, int sy1, int sx2, int sy2, int dx1, int dy1, int dx2, int dy2)
          Pass-through method to underlying PGraphics object.
 void curve(float x1, float y1, float x2, float y2, float x3, float y3, float x4, float y4)
          Pass-through method to underlying PGraphics object.
 void curve(float x1, float y1, float z1, float x2, float y2, float z2, float x3, float y3, float z3, float x4, float y4, float z4)
          Pass-through method to underlying PGraphics object.
 void curveDetail(int detail)
          Pass-through method to underlying PGraphics object.
 float curvePoint(float a, float b, float c, float d, float t)
          Pass-through method to underlying PGraphics object.
 float curveTangent(float a, float b, float c, float d, float t)
          Pass-through method to underlying PGraphics object.
 void curveTightness(float tightness)
          Pass-through method to underlying PGraphics object.
 void curveVertex(float x, float y)
          Pass-through method to underlying PGraphics object.
 void curveVertex(float x, float y, float z)
          Pass-through method to underlying PGraphics object.
 void directionalLight(float red, float green, float blue, float nx, float ny, float nz)
          Pass-through method to underlying PGraphics object.
 boolean displayable()
          Pass-through method to underlying PGraphics object.
abstract  void draw()
          Abstract method implemented by Layer subclasses to draw on the layer.
 void ellipse(float a, float b, float c, float d)
          Pass-through method to underlying PGraphics object.
 void ellipseMode(int mode)
          Pass-through method to underlying PGraphics object.
 void emissive(float gray)
          Pass-through method to underlying PGraphics object.
 void emissive(float x, float y, float z)
          Pass-through method to underlying PGraphics object.
 void emissive(int rgb)
          Pass-through method to underlying PGraphics object.
 void endCamera()
          Pass-through method to underlying PGraphics object.
 void endRaw()
          Pass-through method to underlying PGraphics object.
 void endRecord()
           
 void endShape()
          Pass-through method to underlying PGraphics object.
 void endShape(int mode)
          Pass-through method to underlying PGraphics object.
 void fill(float gray)
          Pass-through method to underlying PGraphics object.
 void fill(float gray, float alpha)
          Pass-through method to underlying PGraphics object.
 void fill(float x, float y, float z)
          Pass-through method to underlying PGraphics object.
 void fill(float x, float y, float z, float a)
          Pass-through method to underlying PGraphics object.
 void fill(int rgb)
          Pass-through method to underlying PGraphics object.
 void fill(int rgb, float alpha)
          Pass-through method to underlying PGraphics object.
 void filter(int kind)
          Pass-through method to underlying PGraphics object.
 void filter(int kind, float param)
          Pass-through method to underlying PGraphics object.
 void frustum(float left, float right, float bottom, float top, float znear, float zfar)
          Pass-through method to underlying PGraphics object.
 processing.core.PImage get()
          Pass-through method to underlying PGraphics object.
 int get(int x, int y)
          Pass-through method to underlying PGraphics object.
 processing.core.PImage get(int x, int y, int w, int h)
          Pass-through method to underlying PGraphics object.
 AppletLayers getContainer()
          Get the containing AppletLayers object.
 processing.core.PApplet getParent()
          Get the parent PApplet.
 float green(int what)
          Pass-through method to underlying PGraphics object.
 void hint(int which)
          Pass-through method to underlying PGraphics object.
 float hue(int what)
          Pass-through method to underlying PGraphics object.
 void image(processing.core.PImage image, float x, float y)
          Pass-through method to underlying PGraphics object.
 void image(processing.core.PImage image, float x, float y, float c, float d)
          Pass-through method to underlying PGraphics object.
 void image(processing.core.PImage image, float a, float b, float c, float d, int u1, int v1, int u2, int v2)
          Pass-through method to underlying PGraphics object.
 void imageMode(int mode)
          Pass-through method to underlying PGraphics object.
 boolean isVisible()
          Get the current visibility state of the layer.
 void keyPressed()
          Override this method to process keyPressed events.
 void keyReleased()
          Override this method to process keyReleased events.
 void keyTyped()
          Override this method to process keyTyped events.
 int lerpColor(int c1, int c2, float amt)
          Pass-through method to underlying PGraphics object.
static int lerpColor(int c1, int c2, float amt, int mode)
          Pass-through method to underlying PGraphics object.
 void lightFalloff(float constant, float linear, float quadratic)
          Pass-through method to underlying PGraphics object.
 void lights()
          Pass-through method to underlying PGraphics object.
 void lightSpecular(float x, float y, float z)
          Pass-through method to underlying PGraphics object.
 void line(float x1, float y1, float x2, float y2)
          Pass-through method to underlying PGraphics object.
 void line(float x1, float y1, float z1, float x2, float y2, float z2)
          Pass-through method to underlying PGraphics object.
 void loadPixels()
          Pass-through method to underlying PGraphics object.
 void mask(int[] alpha)
          Pass-through method to underlying PGraphics object.
 void mask(processing.core.PImage alpha)
          Pass-through method to underlying PGraphics object.
 float modelX(float x, float y, float z)
          Pass-through method to underlying PGraphics object.
 float modelY(float x, float y, float z)
          Pass-through method to underlying PGraphics object.
 float modelZ(float x, float y, float z)
          Pass-through method to underlying PGraphics object.
 void mouseClicked()
          Override this method to process mouseClicked events.
 void mouseDragged()
          Override this method to process mouseDragged events.
 void mouseMoved()
          Override this method to process mouseMoved events.
 void mousePressed()
          Override this method to process mousePressed events.
 void mouseReleased()
          Override this method to process mouseReleased events.
 void noFill()
          Pass-through method to underlying PGraphics object.
 void noLights()
          Pass-through method to underlying PGraphics object.
 void normal(float nx, float ny, float nz)
          Pass-through method to underlying PGraphics object.
 void noSmooth()
          Pass-through method to underlying PGraphics object.
 void noStroke()
          Pass-through method to underlying PGraphics object.
 void noTint()
          Pass-through method to underlying PGraphics object.
 void ortho()
          Pass-through method to underlying PGraphics object.
 void ortho(float left, float right, float bottom, float top, float near, float far)
          Pass-through method to underlying PGraphics object.
 void perspective()
          Pass-through method to underlying PGraphics object.
 void perspective(float fovy, float aspect, float zNear, float zFar)
          Pass-through method to underlying PGraphics object.
 void point(float x, float y)
          Pass-through method to underlying PGraphics object.
 void point(float x, float y, float z)
          Pass-through method to underlying PGraphics object.
 void pointLight(float red, float green, float blue, float x, float y, float z)
          Pass-through method to underlying PGraphics object.
 void popMatrix()
          Pass-through method to underlying PGraphics object.
 void printCamera()
          Pass-through method to underlying PGraphics object.
 void printMatrix()
          Pass-through method to underlying PGraphics object.
 void printProjection()
          Pass-through method to underlying PGraphics object.
 void pushMatrix()
          Pass-through method to underlying PGraphics object.
 void quad(float x1, float y1, float x2, float y2, float x3, float y3, float x4, float y4)
          Pass-through method to underlying PGraphics object.
 void rect(float x1, float y1, float x2, float y2)
          Pass-through method to underlying PGraphics object.
 void rectMode(int mode)
          Pass-through method to underlying PGraphics object.
 float red(int what)
          Pass-through method to underlying PGraphics object.
 void resetMatrix()
          Pass-through method to underlying PGraphics object.
 void rotate(float angle)
          Pass-through method to underlying PGraphics object.
 void rotate(float angle, float vx, float vy, float vz)
          Pass-through method to underlying PGraphics object.
 void rotateX(float angle)
          Pass-through method to underlying PGraphics object.
 void rotateY(float angle)
          Pass-through method to underlying PGraphics object.
 void rotateZ(float angle)
          Pass-through method to underlying PGraphics object.
 float saturation(int what)
          Pass-through method to underlying PGraphics object.
 void scale(float s)
          Pass-through method to underlying PGraphics object.
 void scale(float sx, float sy)
          Pass-through method to underlying PGraphics object.
 void scale(float x, float y, float z)
          Pass-through method to underlying PGraphics object.
 float screenX(float x, float y)
          Pass-through method to underlying PGraphics object.
 float screenX(float x, float y, float z)
          Pass-through method to underlying PGraphics object.
 float screenY(float x, float y)
          Pass-through method to underlying PGraphics object.
 float screenY(float x, float y, float z)
          Pass-through method to underlying PGraphics object.
 float screenZ(float x, float y, float z)
          Pass-through method to underlying PGraphics object.
 void set(int x, int y, int c)
          Pass-through method to underlying PGraphics object.
 void set(int dx, int dy, processing.core.PImage src)
          Pass-through method to underlying PGraphics object.
 void setup()
          Override this method to perform setup operations for this Layer.
 void setVisible(boolean visible)
          Set the current visibility state of the layer.
 void shininess(float shine)
          Pass-through method to underlying PGraphics object.
 void size(int w, int h)
          Method provided only to throw RuntimeException since calling size(w, h) in a layer is illegal.
 void size(int w, int h, java.lang.String renderer)
          Method provided only to throw RuntimeException since calling size(w, h) in a layer is illegal.
 void size(int iwidth, int iheight, java.lang.String irenderer, java.lang.String ipath)
          Method provided only to throw RuntimeException since calling size(w, h) in a layer is illegal.
 void smooth()
          Pass-through method to underlying PGraphics object.
 void specular(float gray)
          Pass-through method to underlying PGraphics object.
 void specular(float x, float y, float z)
          Pass-through method to underlying PGraphics object.
 void specular(int rgb)
          Pass-through method to underlying PGraphics object.
 void sphere(float r)
          Pass-through method to underlying PGraphics object.
 void sphereDetail(int res)
          Pass-through method to underlying PGraphics object.
 void spotLight(float red, float green, float blue, float x, float y, float z, float nx, float ny, float nz, float angle, float concentration)
          Pass-through method to underlying PGraphics object.
 void stroke(float gray)
          Pass-through method to underlying PGraphics object.
 void stroke(float gray, float alpha)
          Pass-through method to underlying PGraphics object.
 void stroke(float x, float y, float z)
          Pass-through method to underlying PGraphics object.
 void stroke(float x, float y, float z, float a)
          Pass-through method to underlying PGraphics object.
 void stroke(int rgb)
          Pass-through method to underlying PGraphics object.
 void stroke(int rgb, float alpha)
          Pass-through method to underlying PGraphics object.
 void strokeCap(int cap)
          Pass-through method to underlying PGraphics object.
 void strokeJoin(int join)
          Pass-through method to underlying PGraphics object.
 void strokeWeight(float weight)
          Pass-through method to underlying PGraphics object.
 void text(char c)
          Pass-through method to underlying PGraphics object.
 void text(char c, float x, float y)
          Pass-through method to underlying PGraphics object.
 void text(char c, float x, float y, float z)
          Pass-through method to underlying PGraphics object.
 void text(float num, float x, float y)
          Pass-through method to underlying PGraphics object.
 void text(float num, float x, float y, float z)
          Pass-through method to underlying PGraphics object.
 void text(int num, float x, float y)
          Pass-through method to underlying PGraphics object.
 void text(int num, float x, float y, float z)
          Pass-through method to underlying PGraphics object.
 void text(java.lang.String str)
          Pass-through method to underlying PGraphics object.
 void text(java.lang.String str, float x, float y)
          Pass-through method to underlying PGraphics object.
 void text(java.lang.String str, float x, float y, float z)
          Pass-through method to underlying PGraphics object.
 void text(java.lang.String str, float x1, float y1, float x2, float y2)
          Pass-through method to underlying PGraphics object.
 void text(java.lang.String s, float x1, float y1, float x2, float y2, float z)
          Pass-through method to underlying PGraphics object.
 void textAlign(int align)
          Pass-through method to underlying PGraphics object.
 void textAlign(int alignX, int alignY)
          Pass-through method to underlying PGraphics object.
 float textAscent()
          Pass-through method to underlying PGraphics object.
 float textDescent()
          Pass-through method to underlying PGraphics object.
 void textFont(processing.core.PFont which)
          Pass-through method to underlying PGraphics object.
 void textFont(processing.core.PFont which, float size)
          Pass-through method to underlying PGraphics object.
 void textLeading(float leading)
          Pass-through method to underlying PGraphics object.
 void textMode(int mode)
          Pass-through method to underlying PGraphics object.
 void textSize(float size)
          Pass-through method to underlying PGraphics object.
 void texture(processing.core.PImage image)
          Pass-through method to underlying PGraphics object.
 void textureMode(int mode)
          Pass-through method to underlying PGraphics object.
 float textWidth(char c)
          Pass-through method to underlying PGraphics object.
 float textWidth(java.lang.String str)
          Pass-through method to underlying PGraphics object.
 void tint(float gray)
          Pass-through method to underlying PGraphics object.
 void tint(float gray, float alpha)
          Pass-through method to underlying PGraphics object.
 void tint(float x, float y, float z)
          Pass-through method to underlying PGraphics object.
 void tint(float x, float y, float z, float a)
          Pass-through method to underlying PGraphics object.
 void tint(int rgb)
          Pass-through method to underlying PGraphics object.
 void tint(int rgb, float alpha)
          Pass-through method to underlying PGraphics object.
 void translate(float tx, float ty)
          Pass-through method to underlying PGraphics object.
 void translate(float tx, float ty, float tz)
          Pass-through method to underlying PGraphics object.
 void triangle(float x1, float y1, float x2, float y2, float x3, float y3)
          Pass-through method to underlying PGraphics object.
 void updatePixels()
          Pass-through method to underlying PGraphics object.
 void updatePixels(int x1, int y1, int x2, int y2)
          Pass-through method to underlying PGraphics object.
 void vertex(float x, float y)
          Pass-through method to underlying PGraphics object.
 void vertex(float x, float y, float z)
          Pass-through method to underlying PGraphics object.
 void vertex(float x, float y, float u, float v)
          Pass-through method to underlying PGraphics object.
 void vertex(float x, float y, float z, float u, float v)
          Pass-through method to underlying PGraphics object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

g

public processing.core.PGraphics g
The PGraphics object on which all drawing methods are invoked.


parent

public processing.core.PApplet parent
The parent PApplet.


recorder

public processing.core.PGraphics recorder
Optional recorder PGraphics for this Layer.


pixels

public int[] pixels
Array of pixels for this Layer.

Constructor Detail

Layer

public Layer(processing.core.PApplet parent)
Create a Layer object in the specified PApplet using default renderer JAVA2D.

Parameters:
parent - the PApplet to which this Layer belongs

Layer

public Layer(processing.core.PApplet parent,
             java.lang.String renderer)
Create a Layer object in the specified PApplet using the specified renderer.

Parameters:
parent - the PApplet to which this Layer belongs
renderer - the Processing renderer (JAVA2D, P2D, P3D) for this layer.
Method Detail

draw

public abstract void draw()
Abstract method implemented by Layer subclasses to draw on the layer.


setup

public void setup()
Override this method to perform setup operations for this Layer. DO NOT call size(w, h) in the setup() method to set the size of a layer. All layers are automatically the same size as the containing PApplet. This method is invoked when the Layer is added to an AppletLayers object.


size

public void size(int w,
                 int h)
Method provided only to throw RuntimeException since calling size(w, h) in a layer is illegal.

Parameters:
w -
h -
Throws:
java.lang.RuntimeException - always.

size

public void size(int w,
                 int h,
                 java.lang.String renderer)
Method provided only to throw RuntimeException since calling size(w, h) in a layer is illegal.

Parameters:
w -
h -
renderer -
Throws:
java.lang.RuntimeException - always.

size

public void size(int iwidth,
                 int iheight,
                 java.lang.String irenderer,
                 java.lang.String ipath)
Method provided only to throw RuntimeException since calling size(w, h) in a layer is illegal.

Parameters:
iwidth -
iheight -
irenderer -
ipath -
Throws:
java.lang.RuntimeException - always.

getParent

public processing.core.PApplet getParent()
Get the parent PApplet.

Returns:
the parent

getContainer

public AppletLayers getContainer()
Get the containing AppletLayers object.

Returns:
the containing AppletLayers object.

isVisible

public boolean isVisible()
Get the current visibility state of the layer.

Returns:
the visibility state

setVisible

public void setVisible(boolean visible)
Set the current visibility state of the layer.

Parameters:
visible -

beginRecord

public void beginRecord(processing.core.PGraphics recorder)

endRecord

public void endRecord()

loadPixels

public void loadPixels()
Pass-through method to underlying PGraphics object.

See Also:
http://processing.org/reference/

imageMode

public void imageMode(int mode)
Pass-through method to underlying PGraphics object.

See Also:
http://processing.org/reference/

smooth

public void smooth()
Pass-through method to underlying PGraphics object.

See Also:
http://processing.org/reference/

noSmooth

public void noSmooth()
Pass-through method to underlying PGraphics object.

See Also:
http://processing.org/reference/

updatePixels

public void updatePixels()
Pass-through method to underlying PGraphics object.

See Also:
http://processing.org/reference/

updatePixels

public void updatePixels(int x1,
                         int y1,
                         int x2,
                         int y2)
Pass-through method to underlying PGraphics object.

Parameters:
x1 -
y1 -
x2 -
y2 -
See Also:
http://processing.org/reference/

get

public int get(int x,
               int y)
Pass-through method to underlying PGraphics object.

Parameters:
x -
y -
Returns:
pixel at x,y
See Also:
http://processing.org/reference/

get

public processing.core.PImage get(int x,
                                  int y,
                                  int w,
                                  int h)
Pass-through method to underlying PGraphics object.

Parameters:
x -
y -
w -
h -
Returns:
the PImage
See Also:
http://processing.org/reference/

get

public processing.core.PImage get()
Pass-through method to underlying PGraphics object.

Returns:
the PImage
See Also:
http://processing.org/reference/

set

public void set(int x,
                int y,
                int c)
Pass-through method to underlying PGraphics object.

Parameters:
x -
y -
c -
See Also:
http://processing.org/reference/

set

public void set(int dx,
                int dy,
                processing.core.PImage src)
Pass-through method to underlying PGraphics object.

Parameters:
dx -
dy -
src -
See Also:
http://processing.org/reference/

mask

public void mask(int[] alpha)
Pass-through method to underlying PGraphics object.

Parameters:
alpha -
See Also:
http://processing.org/reference/

mask

public void mask(processing.core.PImage alpha)
Pass-through method to underlying PGraphics object.

Parameters:
alpha -
See Also:
http://processing.org/reference/

filter

public void filter(int kind)
Pass-through method to underlying PGraphics object.

Parameters:
kind -
See Also:
http://processing.org/reference/

filter

public void filter(int kind,
                   float param)
Pass-through method to underlying PGraphics object.

Parameters:
kind -
param -
See Also:
http://processing.org/reference/

copy

public void copy(int sx1,
                 int sy1,
                 int sx2,
                 int sy2,
                 int dx1,
                 int dy1,
                 int dx2,
                 int dy2)
Pass-through method to underlying PGraphics object.

Parameters:
sx1 -
sy1 -
sx2 -
sy2 -
dx1 -
dy1 -
dx2 -
dy2 -
See Also:
http://processing.org/reference/

copy

public void copy(processing.core.PImage src,
                 int sx1,
                 int sy1,
                 int sx2,
                 int sy2,
                 int dx1,
                 int dy1,
                 int dx2,
                 int dy2)
Pass-through method to underlying PGraphics object.

Parameters:
src -
sx1 -
sy1 -
sx2 -
sy2 -
dx1 -
dy1 -
dx2 -
dy2 -
See Also:
http://processing.org/reference/

blendColor

public static int blendColor(int c1,
                             int c2,
                             int mode)
Pass-through method to underlying PGraphics object.

Parameters:
c1 -
c2 -
mode -
Returns:
blended color
See Also:
http://processing.org/reference/

blend

public void blend(int sx1,
                  int sy1,
                  int sx2,
                  int sy2,
                  int dx1,
                  int dy1,
                  int dx2,
                  int dy2,
                  int mode)
Pass-through method to underlying PGraphics object.

Parameters:
sx1 -
sy1 -
sx2 -
sy2 -
dx1 -
dy1 -
dx2 -
dy2 -
mode -
See Also:
http://processing.org/reference/

blend

public void blend(processing.core.PImage src,
                  int sx1,
                  int sy1,
                  int sx2,
                  int sy2,
                  int dx1,
                  int dy1,
                  int dx2,
                  int dy2,
                  int mode)
Pass-through method to underlying PGraphics object.

Parameters:
src -
sx1 -
sy1 -
sx2 -
sy2 -
dx1 -
dy1 -
dx2 -
dy2 -
mode -
See Also:
http://processing.org/reference/

hint

public void hint(int which)
Pass-through method to underlying PGraphics object.

Parameters:
which -
See Also:
http://processing.org/reference/

beginShape

public void beginShape()
Pass-through method to underlying PGraphics object.

See Also:
http://processing.org/reference/

beginShape

public void beginShape(int kind)
Pass-through method to underlying PGraphics object.

Parameters:
kind -
See Also:
http://processing.org/reference/

normal

public void normal(float nx,
                   float ny,
                   float nz)
Pass-through method to underlying PGraphics object.

Parameters:
nx -
ny -
nz -
See Also:
http://processing.org/reference/

textureMode

public void textureMode(int mode)
Pass-through method to underlying PGraphics object.

Parameters:
mode -
See Also:
http://processing.org/reference/

texture

public void texture(processing.core.PImage image)
Pass-through method to underlying PGraphics object.

Parameters:
image -
See Also:
http://processing.org/reference/

vertex

public void vertex(float x,
                   float y)
Pass-through method to underlying PGraphics object.

Parameters:
x -
y -
See Also:
http://processing.org/reference/

vertex

public void vertex(float x,
                   float y,
                   float z)
Pass-through method to underlying PGraphics object.

Parameters:
x -
y -
z -
See Also:
http://processing.org/reference/

vertex

public void vertex(float x,
                   float y,
                   float u,
                   float v)
Pass-through method to underlying PGraphics object.

Parameters:
x -
y -
u -
v -
See Also:
http://processing.org/reference/

vertex

public void vertex(float x,
                   float y,
                   float z,
                   float u,
                   float v)
Pass-through method to underlying PGraphics object.

Parameters:
x -
y -
z -
u -
v -
See Also:
http://processing.org/reference/

bezierVertex

public void bezierVertex(float x2,
                         float y2,
                         float x3,
                         float y3,
                         float x4,
                         float y4)
Pass-through method to underlying PGraphics object.

Parameters:
x2 -
y2 -
x3 -
y3 -
x4 -
y4 -
See Also:
http://processing.org/reference/

bezierVertex

public void bezierVertex(float x2,
                         float y2,
                         float z2,
                         float x3,
                         float y3,
                         float z3,
                         float x4,
                         float y4,
                         float z4)
Pass-through method to underlying PGraphics object.

Parameters:
x2 -
y2 -
z2 -
x3 -
y3 -
z3 -
x4 -
y4 -
z4 -
See Also:
http://processing.org/reference/

curveVertex

public void curveVertex(float x,
                        float y)
Pass-through method to underlying PGraphics object.

Parameters:
x -
y -
See Also:
http://processing.org/reference/

curveVertex

public void curveVertex(float x,
                        float y,
                        float z)
Pass-through method to underlying PGraphics object.

Parameters:
x -
y -
z -
See Also:
http://processing.org/reference/

breakShape

public void breakShape()
Pass-through method to underlying PGraphics object.

See Also:
http://processing.org/reference/

endShape

public final void endShape()
Pass-through method to underlying PGraphics object.

See Also:
http://processing.org/reference/

endShape

public void endShape(int mode)
Pass-through method to underlying PGraphics object.

Parameters:
mode -
See Also:
http://processing.org/reference/

point

public void point(float x,
                  float y)
Pass-through method to underlying PGraphics object.

Parameters:
x -
y -
See Also:
http://processing.org/reference/

point

public void point(float x,
                  float y,
                  float z)
Pass-through method to underlying PGraphics object.

Parameters:
x -
y -
z -
See Also:
http://processing.org/reference/

line

public void line(float x1,
                 float y1,
                 float x2,
                 float y2)
Pass-through method to underlying PGraphics object.

Parameters:
x1 -
y1 -
x2 -
y2 -
See Also:
http://processing.org/reference/

line

public void line(float x1,
                 float y1,
                 float z1,
                 float x2,
                 float y2,
                 float z2)
Pass-through method to underlying PGraphics object.

Parameters:
x1 -
y1 -
z1 -
x2 -
y2 -
z2 -
See Also:
http://processing.org/reference/

triangle

public void triangle(float x1,
                     float y1,
                     float x2,
                     float y2,
                     float x3,
                     float y3)
Pass-through method to underlying PGraphics object.

Parameters:
x1 -
y1 -
x2 -
y2 -
x3 -
y3 -
See Also:
http://processing.org/reference/

quad

public void quad(float x1,
                 float y1,
                 float x2,
                 float y2,
                 float x3,
                 float y3,
                 float x4,
                 float y4)
Pass-through method to underlying PGraphics object.

Parameters:
x1 -
y1 -
x2 -
y2 -
x3 -
y3 -
x4 -
y4 -
See Also:
http://processing.org/reference/

rectMode

public void rectMode(int mode)
Pass-through method to underlying PGraphics object.

Parameters:
mode -
See Also:
http://processing.org/reference/

rect

public void rect(float x1,
                 float y1,
                 float x2,
                 float y2)
Pass-through method to underlying PGraphics object.

Parameters:
x1 -
y1 -
x2 -
y2 -
See Also:
http://processing.org/reference/

ellipseMode

public void ellipseMode(int mode)
Pass-through method to underlying PGraphics object.

Parameters:
mode -
See Also:
http://processing.org/reference/

ellipse

public void ellipse(float a,
                    float b,
                    float c,
                    float d)
Pass-through method to underlying PGraphics object.

Parameters:
a -
b -
c -
d -
See Also:
http://processing.org/reference/

arc

public void arc(float a,
                float b,
                float c,
                float d,
                float start,
                float stop)
Pass-through method to underlying PGraphics object.

Parameters:
a -
b -
c -
d -
start -
stop -
See Also:
http://processing.org/reference/

box

public void box(float size)
Pass-through method to underlying PGraphics object.

Parameters:
size -
See Also:
http://processing.org/reference/

box

public void box(float w,
                float h,
                float d)
Pass-through method to underlying PGraphics object.

Parameters:
w -
h -
d -
See Also:
http://processing.org/reference/

sphereDetail

public void sphereDetail(int res)
Pass-through method to underlying PGraphics object.

Parameters:
res -
See Also:
http://processing.org/reference/

sphere

public void sphere(float r)
Pass-through method to underlying PGraphics object.

Parameters:
r -
See Also:
http://processing.org/reference/

bezierPoint

public float bezierPoint(float a,
                         float b,
                         float c,
                         float d,
                         float t)
Pass-through method to underlying PGraphics object.

Parameters:
a -
b -
c -
d -
t -
Returns:
bezier point
See Also:
http://processing.org/reference/

bezierTangent

public float bezierTangent(float a,
                           float b,
                           float c,
                           float d,
                           float t)
Pass-through method to underlying PGraphics object.

Parameters:
a -
b -
c -
d -
t -
Returns:
bezier tangent
See Also:
http://processing.org/reference/

bezierDetail

public void bezierDetail(int detail)
Pass-through method to underlying PGraphics object.

Parameters:
detail -
See Also:
http://processing.org/reference/

bezier

public void bezier(float x1,
                   float y1,
                   float x2,
                   float y2,
                   float x3,
                   float y3,
                   float x4,
                   float y4)
Pass-through method to underlying PGraphics object.

Parameters:
x1 -
y1 -
x2 -
y2 -
x3 -
y3 -
x4 -
y4 -
See Also:
http://processing.org/reference/

bezier

public void bezier(float x1,
                   float y1,
                   float z1,
                   float x2,
                   float y2,
                   float z2,
                   float x3,
                   float y3,
                   float z3,
                   float x4,
                   float y4,
                   float z4)
Pass-through method to underlying PGraphics object.

Parameters:
x1 -
y1 -
z1 -
x2 -
y2 -
z2 -
x3 -
y3 -
z3 -
x4 -
y4 -
z4 -
See Also:
http://processing.org/reference/

curvePoint

public float curvePoint(float a,
                        float b,
                        float c,
                        float d,
                        float t)
Pass-through method to underlying PGraphics object.

Parameters:
a -
b -
c -
d -
t -
Returns:
curve point
See Also:
http://processing.org/reference/

curveTangent

public float curveTangent(float a,
                          float b,
                          float c,
                          float d,
                          float t)
Pass-through method to underlying PGraphics object.

Parameters:
a -
b -
c -
d -
t -
Returns:
curve tangent
See Also:
http://processing.org/reference/

curveDetail

public void curveDetail(int detail)
Pass-through method to underlying PGraphics object.

Parameters:
detail -
See Also:
http://processing.org/reference/

curveTightness

public void curveTightness(float tightness)
Pass-through method to underlying PGraphics object.

Parameters:
tightness -
See Also:
http://processing.org/reference/

curve

public void curve(float x1,
                  float y1,
                  float x2,
                  float y2,
                  float x3,
                  float y3,
                  float x4,
                  float y4)
Pass-through method to underlying PGraphics object.

Parameters:
x1 -
y1 -
x2 -
y2 -
x3 -
y3 -
x4 -
y4 -
See Also:
http://processing.org/reference/

curve

public void curve(float x1,
                  float y1,
                  float z1,
                  float x2,
                  float y2,
                  float z2,
                  float x3,
                  float y3,
                  float z3,
                  float x4,
                  float y4,
                  float z4)
Pass-through method to underlying PGraphics object.

Parameters:
x1 -
y1 -
z1 -
x2 -
y2 -
z2 -
x3 -
y3 -
z3 -
x4 -
y4 -
z4 -
See Also:
http://processing.org/reference/

image

public void image(processing.core.PImage image,
                  float x,
                  float y)
Pass-through method to underlying PGraphics object.

Parameters:
image -
x -
y -
See Also:
http://processing.org/reference/

image

public void image(processing.core.PImage image,
                  float x,
                  float y,
                  float c,
                  float d)
Pass-through method to underlying PGraphics object.

Parameters:
image -
x -
y -
c -
d -
See Also:
http://processing.org/reference/

image

public void image(processing.core.PImage image,
                  float a,
                  float b,
                  float c,
                  float d,
                  int u1,
                  int v1,
                  int u2,
                  int v2)
Pass-through method to underlying PGraphics object.

Parameters:
image -
a -
b -
c -
d -
u1 -
v1 -
u2 -
v2 -
See Also:
http://processing.org/reference/

textAlign

public void textAlign(int align)
Pass-through method to underlying PGraphics object.

Parameters:
align -
See Also:
http://processing.org/reference/

textAlign

public void textAlign(int alignX,
                      int alignY)
Pass-through method to underlying PGraphics object.

Parameters:
alignX -
alignY -
See Also:
http://processing.org/reference/

textAscent

public float textAscent()
Pass-through method to underlying PGraphics object.

Returns:
text ascent
See Also:
http://processing.org/reference/

textDescent

public float textDescent()
Pass-through method to underlying PGraphics object.

Returns:
text descent
See Also:
http://processing.org/reference/

textFont

public void textFont(processing.core.PFont which)
Pass-through method to underlying PGraphics object.

Parameters:
which -
See Also:
http://processing.org/reference/

textFont

public void textFont(processing.core.PFont which,
                     float size)
Pass-through method to underlying PGraphics object.

Parameters:
which -
size -
See Also:
http://processing.org/reference/

textLeading

public void textLeading(float leading)
Pass-through method to underlying PGraphics object.

Parameters:
leading -
See Also:
http://processing.org/reference/

textMode

public void textMode(int mode)
Pass-through method to underlying PGraphics object.

Parameters:
mode -
See Also:
http://processing.org/reference/

textSize

public void textSize(float size)
Pass-through method to underlying PGraphics object.

Parameters:
size -
See Also:
http://processing.org/reference/

textWidth

public float textWidth(char c)
Pass-through method to underlying PGraphics object.

Parameters:
c -
Returns:
text width
See Also:
http://processing.org/reference/

textWidth

public float textWidth(java.lang.String str)
Pass-through method to underlying PGraphics object.

Parameters:
str -
Returns:
text width
See Also:
http://processing.org/reference/

text

public void text(char c)
Pass-through method to underlying PGraphics object.

Parameters:
c -
See Also:
http://processing.org/reference/

text

public void text(char c,
                 float x,
                 float y)
Pass-through method to underlying PGraphics object.

Parameters:
c -
x -
y -
See Also:
http://processing.org/reference/

text

public void text(char c,
                 float x,
                 float y,
                 float z)
Pass-through method to underlying PGraphics object.

Parameters:
c -
x -
y -
z -
See Also:
http://processing.org/reference/

text

public void text(java.lang.String str)
Pass-through method to underlying PGraphics object.

Parameters:
str -
See Also:
http://processing.org/reference/

text

public void text(java.lang.String str,
                 float x,
                 float y)
Pass-through method to underlying PGraphics object.

Parameters:
str -
x -
y -
See Also:
http://processing.org/reference/

text

public void text(java.lang.String str,
                 float x,
                 float y,
                 float z)
Pass-through method to underlying PGraphics object.

Parameters:
str -
x -
y -
z -
See Also:
http://processing.org/reference/

text

public void text(java.lang.String str,
                 float x1,
                 float y1,
                 float x2,
                 float y2)
Pass-through method to underlying PGraphics object.

Parameters:
str -
x1 -
y1 -
x2 -
y2 -
See Also:
http://processing.org/reference/

text

public void text(java.lang.String s,
                 float x1,
                 float y1,
                 float x2,
                 float y2,
                 float z)
Pass-through method to underlying PGraphics object.

Parameters:
s -
x1 -
y1 -
x2 -
y2 -
z -
See Also:
http://processing.org/reference/

text

public void text(int num,
                 float x,
                 float y)
Pass-through method to underlying PGraphics object.

Parameters:
num -
x -
y -
See Also:
http://processing.org/reference/

text

public void text(int num,
                 float x,
                 float y,
                 float z)
Pass-through method to underlying PGraphics object.

Parameters:
num -
x -
y -
z -
See Also:
http://processing.org/reference/

text

public void text(float num,
                 float x,
                 float y)
Pass-through method to underlying PGraphics object.

Parameters:
num -
x -
y -
See Also:
http://processing.org/reference/

text

public void text(float num,
                 float x,
                 float y,
                 float z)
Pass-through method to underlying PGraphics object.

Parameters:
num -
x -
y -
z -
See Also:
http://processing.org/reference/

translate

public void translate(float tx,
                      float ty)
Pass-through method to underlying PGraphics object.

Parameters:
tx -
ty -
See Also:
http://processing.org/reference/

translate

public void translate(float tx,
                      float ty,
                      float tz)
Pass-through method to underlying PGraphics object.

Parameters:
tx -
ty -
tz -
See Also:
http://processing.org/reference/

rotate

public void rotate(float angle)
Pass-through method to underlying PGraphics object.

Parameters:
angle -
See Also:
http://processing.org/reference/

rotateX

public void rotateX(float angle)
Pass-through method to underlying PGraphics object.

Parameters:
angle -
See Also:
http://processing.org/reference/

rotateY

public void rotateY(float angle)
Pass-through method to underlying PGraphics object.

Parameters:
angle -
See Also:
http://processing.org/reference/

rotateZ

public void rotateZ(float angle)
Pass-through method to underlying PGraphics object.

Parameters:
angle -
See Also:
http://processing.org/reference/

rotate

public void rotate(float angle,
                   float vx,
                   float vy,
                   float vz)
Pass-through method to underlying PGraphics object.

Parameters:
angle -
vx -
vy -
vz -
See Also:
http://processing.org/reference/

scale

public void scale(float s)
Pass-through method to underlying PGraphics object.

Parameters:
s -
See Also:
http://processing.org/reference/

scale

public void scale(float sx,
                  float sy)
Pass-through method to underlying PGraphics object.

Parameters:
sx -
sy -
See Also:
http://processing.org/reference/

scale

public void scale(float x,
                  float y,
                  float z)
Pass-through method to underlying PGraphics object.

Parameters:
x -
y -
z -
See Also:
http://processing.org/reference/

pushMatrix

public void pushMatrix()
Pass-through method to underlying PGraphics object.

See Also:
http://processing.org/reference/

popMatrix

public void popMatrix()
Pass-through method to underlying PGraphics object.

See Also:
http://processing.org/reference/

resetMatrix

public void resetMatrix()
Pass-through method to underlying PGraphics object.

See Also:
http://processing.org/reference/

applyMatrix

public void applyMatrix(float n00,
                        float n01,
                        float n02,
                        float n10,
                        float n11,
                        float n12)
Pass-through method to underlying PGraphics object.

Parameters:
n00 -
n01 -
n02 -
n10 -
n11 -
n12 -
See Also:
http://processing.org/reference/

applyMatrix

public void applyMatrix(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)
Pass-through method to underlying PGraphics object.

Parameters:
n00 -
n01 -
n02 -
n03 -
n10 -
n11 -
n12 -
n13 -
n20 -
n21 -
n22 -
n23 -
n30 -
n31 -
n32 -
n33 -
See Also:
http://processing.org/reference/

printMatrix

public void printMatrix()
Pass-through method to underlying PGraphics object.

See Also:
http://processing.org/reference/

beginCamera

public void beginCamera()
Pass-through method to underlying PGraphics object.

See Also:
http://processing.org/reference/

endCamera

public void endCamera()
Pass-through method to underlying PGraphics object.

See Also:
http://processing.org/reference/

camera

public void camera()
Pass-through method to underlying PGraphics object.

See Also:
http://processing.org/reference/

camera

public void camera(float eyeX,
                   float eyeY,
                   float eyeZ,
                   float centerX,
                   float centerY,
                   float centerZ,
                   float upX,
                   float upY,
                   float upZ)
Pass-through method to underlying PGraphics object.

Parameters:
eyeX -
eyeY -
eyeZ -
centerX -
centerY -
centerZ -
upX -
upY -
upZ -
See Also:
http://processing.org/reference/

printCamera

public void printCamera()
Pass-through method to underlying PGraphics object.

See Also:
http://processing.org/reference/

ortho

public void ortho()
Pass-through method to underlying PGraphics object.

See Also:
http://processing.org/reference/

ortho

public void ortho(float left,
                  float right,
                  float bottom,
                  float top,
                  float near,
                  float far)
Pass-through method to underlying PGraphics object.

Parameters:
left -
right -
bottom -
top -
near -
far -
See Also:
http://processing.org/reference/

perspective

public void perspective()
Pass-through method to underlying PGraphics object.

See Also:
http://processing.org/reference/

perspective

public void perspective(float fovy,
                        float aspect,
                        float zNear,
                        float zFar)
Pass-through method to underlying PGraphics object.

Parameters:
fovy -
aspect -
zNear -
zFar -
See Also:
http://processing.org/reference/

frustum

public void frustum(float left,
                    float right,
                    float bottom,
                    float top,
                    float znear,
                    float zfar)
Pass-through method to underlying PGraphics object.

Parameters:
left -
right -
bottom -
top -
znear -
zfar -
See Also:
http://processing.org/reference/

printProjection

public void printProjection()
Pass-through method to underlying PGraphics object.

See Also:
http://processing.org/reference/

screenX

public float screenX(float x,
                     float y)
Pass-through method to underlying PGraphics object.

Parameters:
x -
y -
Returns:
screenX
See Also:
http://processing.org/reference/

screenY

public float screenY(float x,
                     float y)
Pass-through method to underlying PGraphics object.

Parameters:
x -
y -
Returns:
screenY
See Also:
http://processing.org/reference/

screenX

public float screenX(float x,
                     float y,
                     float z)
Pass-through method to underlying PGraphics object.

Parameters:
x -
y -
z -
Returns:
screenX
See Also:
http://processing.org/reference/

screenY

public float screenY(float x,
                     float y,
                     float z)
Pass-through method to underlying PGraphics object.

Parameters:
x -
y -
z -
Returns:
screenY
See Also:
http://processing.org/reference/

screenZ

public float screenZ(float x,
                     float y,
                     float z)
Pass-through method to underlying PGraphics object.

Parameters:
x -
y -
z -
Returns:
screenZ
See Also:
http://processing.org/reference/

modelX

public float modelX(float x,
                    float y,
                    float z)
Pass-through method to underlying PGraphics object.

Parameters:
x -
y -
z -
Returns:
modelX
See Also:
http://processing.org/reference/

modelY

public float modelY(float x,
                    float y,
                    float z)
Pass-through method to underlying PGraphics object.

Parameters:
x -
y -
z -
Returns:
modelY
See Also:
http://processing.org/reference/

modelZ

public float modelZ(float x,
                    float y,
                    float z)
Pass-through method to underlying PGraphics object.

Parameters:
x -
y -
z -
Returns:
modelZ
See Also:
http://processing.org/reference/

colorMode

public void colorMode(int mode)
Pass-through method to underlying PGraphics object.

Parameters:
mode -
See Also:
http://processing.org/reference/

colorMode

public void colorMode(int mode,
                      float max)
Pass-through method to underlying PGraphics object.

Parameters:
mode -
max -
See Also:
http://processing.org/reference/

colorMode

public void colorMode(int mode,
                      float maxX,
                      float maxY,
                      float maxZ)
Pass-through method to underlying PGraphics object.

Parameters:
mode -
maxX -
maxY -
maxZ -
See Also:
http://processing.org/reference/

colorMode

public void colorMode(int mode,
                      float maxX,
                      float maxY,
                      float maxZ,
                      float maxA)
Pass-through method to underlying PGraphics object.

Parameters:
mode -
maxX -
maxY -
maxZ -
maxA -
See Also:
http://processing.org/reference/

strokeWeight

public void strokeWeight(float weight)
Pass-through method to underlying PGraphics object.

Parameters:
weight -
See Also:
http://processing.org/reference/

strokeJoin

public void strokeJoin(int join)
Pass-through method to underlying PGraphics object.

Parameters:
join -
See Also:
http://processing.org/reference/

strokeCap

public void strokeCap(int cap)
Pass-through method to underlying PGraphics object.

Parameters:
cap -
See Also:
http://processing.org/reference/

noStroke

public void noStroke()
Pass-through method to underlying PGraphics object.

See Also:
http://processing.org/reference/

stroke

public void stroke(int rgb)
Pass-through method to underlying PGraphics object.

Parameters:
rgb -
See Also:
http://processing.org/reference/

stroke

public void stroke(int rgb,
                   float alpha)
Pass-through method to underlying PGraphics object.

Parameters:
rgb -
alpha -
See Also:
http://processing.org/reference/

stroke

public void stroke(float gray)
Pass-through method to underlying PGraphics object.

Parameters:
gray -
See Also:
http://processing.org/reference/

stroke

public void stroke(float gray,
                   float alpha)
Pass-through method to underlying PGraphics object.

Parameters:
gray -
alpha -
See Also:
http://processing.org/reference/

stroke

public void stroke(float x,
                   float y,
                   float z)
Pass-through method to underlying PGraphics object.

Parameters:
x -
y -
z -
See Also:
http://processing.org/reference/

stroke

public void stroke(float x,
                   float y,
                   float z,
                   float a)
Pass-through method to underlying PGraphics object.

Parameters:
x -
y -
z -
a -
See Also:
http://processing.org/reference/

noTint

public void noTint()
Pass-through method to underlying PGraphics object.

See Also:
http://processing.org/reference/

tint

public void tint(int rgb)
Pass-through method to underlying PGraphics object.

Parameters:
rgb -
See Also:
http://processing.org/reference/

tint

public void tint(int rgb,
                 float alpha)
Pass-through method to underlying PGraphics object.

Parameters:
rgb -
alpha -
See Also:
http://processing.org/reference/

tint

public void tint(float gray)
Pass-through method to underlying PGraphics object.

Parameters:
gray -
See Also:
http://processing.org/reference/

tint

public void tint(float gray,
                 float alpha)
Pass-through method to underlying PGraphics object.

Parameters:
gray -
alpha -
See Also:
http://processing.org/reference/

tint

public void tint(float x,
                 float y,
                 float z)
Pass-through method to underlying PGraphics object.

Parameters:
x -
y -
z -
See Also:
http://processing.org/reference/

tint

public void tint(float x,
                 float y,
                 float z,
                 float a)
Pass-through method to underlying PGraphics object.

Parameters:
x -
y -
z -
a -
See Also:
http://processing.org/reference/

noFill

public void noFill()
Pass-through method to underlying PGraphics object.

See Also:
http://processing.org/reference/

fill

public void fill(int rgb)
Pass-through method to underlying PGraphics object.

Parameters:
rgb -
See Also:
http://processing.org/reference/

fill

public void fill(int rgb,
                 float alpha)
Pass-through method to underlying PGraphics object.

Parameters:
rgb -
alpha -
See Also:
http://processing.org/reference/

fill

public void fill(float gray)
Pass-through method to underlying PGraphics object.

Parameters:
gray -
See Also:
http://processing.org/reference/

fill

public void fill(float gray,
                 float alpha)
Pass-through method to underlying PGraphics object.

Parameters:
gray -
alpha -
See Also:
http://processing.org/reference/

fill

public void fill(float x,
                 float y,
                 float z)
Pass-through method to underlying PGraphics object.

Parameters:
x -
y -
z -
See Also:
http://processing.org/reference/

fill

public void fill(float x,
                 float y,
                 float z,
                 float a)
Pass-through method to underlying PGraphics object.

Parameters:
x -
y -
z -
a -
See Also:
http://processing.org/reference/

ambient

public void ambient(int rgb)
Pass-through method to underlying PGraphics object.

Parameters:
rgb -
See Also:
http://processing.org/reference/

ambient

public void ambient(float gray)
Pass-through method to underlying PGraphics object.

Parameters:
gray -
See Also:
http://processing.org/reference/

ambient

public void ambient(float x,
                    float y,
                    float z)
Pass-through method to underlying PGraphics object.

Parameters:
x -
y -
z -
See Also:
http://processing.org/reference/

specular

public void specular(int rgb)
Pass-through method to underlying PGraphics object.

Parameters:
rgb -
See Also:
http://processing.org/reference/

specular

public void specular(float gray)
Pass-through method to underlying PGraphics object.

Parameters:
gray -
See Also:
http://processing.org/reference/

specular

public void specular(float x,
                     float y,
                     float z)
Pass-through method to underlying PGraphics object.

Parameters:
x -
y -
z -
See Also:
http://processing.org/reference/

shininess

public void shininess(float shine)
Pass-through method to underlying PGraphics object.

Parameters:
shine -
See Also:
http://processing.org/reference/

emissive

public void emissive(int rgb)
Pass-through method to underlying PGraphics object.

Parameters:
rgb -
See Also:
http://processing.org/reference/

emissive

public void emissive(float gray)
Pass-through method to underlying PGraphics object.

Parameters:
gray -
See Also:
http://processing.org/reference/

emissive

public void emissive(float x,
                     float y,
                     float z)
Pass-through method to underlying PGraphics object.

Parameters:
x -
y -
z -
See Also:
http://processing.org/reference/

lights

public void lights()
Pass-through method to underlying PGraphics object.

See Also:
http://processing.org/reference/

noLights

public void noLights()
Pass-through method to underlying PGraphics object.

See Also:
http://processing.org/reference/

ambientLight

public void ambientLight(float red,
                         float green,
                         float blue)
Pass-through method to underlying PGraphics object.

Parameters:
red -
green -
blue -
See Also:
http://processing.org/reference/

ambientLight

public void ambientLight(float red,
                         float green,
                         float blue,
                         float x,
                         float y,
                         float z)
Pass-through method to underlying PGraphics object.

Parameters:
red -
green -
blue -
x -
y -
z -
See Also:
http://processing.org/reference/

directionalLight

public void directionalLight(float red,
                             float green,
                             float blue,
                             float nx,
                             float ny,
                             float nz)
Pass-through method to underlying PGraphics object.

Parameters:
red -
green -
blue -
nx -
ny -
nz -
See Also:
http://processing.org/reference/

pointLight

public void pointLight(float red,
                       float green,
                       float blue,
                       float x,
                       float y,
                       float z)
Pass-through method to underlying PGraphics object.

Parameters:
red -
green -
blue -
x -
y -
z -
See Also:
http://processing.org/reference/

spotLight

public void spotLight(float red,
                      float green,
                      float blue,
                      float x,
                      float y,
                      float z,
                      float nx,
                      float ny,
                      float nz,
                      float angle,
                      float concentration)
Pass-through method to underlying PGraphics object.

Parameters:
red -
green -
blue -
x -
y -
z -
nx -
ny -
nz -
angle -
concentration -
See Also:
http://processing.org/reference/

lightFalloff

public void lightFalloff(float constant,
                         float linear,
                         float quadratic)
Pass-through method to underlying PGraphics object.

Parameters:
constant -
linear -
quadratic -
See Also:
http://processing.org/reference/

lightSpecular

public void lightSpecular(float x,
                          float y,
                          float z)
Pass-through method to underlying PGraphics object.

Parameters:
x -
y -
z -
See Also:
http://processing.org/reference/

background

public void background(int rgb)
Pass-through method to underlying PGraphics object.

Parameters:
rgb -
See Also:
http://processing.org/reference/

background

public void background(int rgb,
                       float alpha)
Pass-through method to underlying PGraphics object.

Parameters:
rgb -
alpha -
See Also:
http://processing.org/reference/

background

public void background(float gray)
Pass-through method to underlying PGraphics object.

Parameters:
gray -
See Also:
http://processing.org/reference/

background

public void background(float gray,
                       float alpha)
Pass-through method to underlying PGraphics object.

Parameters:
gray -
alpha -
See Also:
http://processing.org/reference/

background

public void background(float x,
                       float y,
                       float z)
Pass-through method to underlying PGraphics object.

Parameters:
x -
y -
z -
See Also:
http://processing.org/reference/

background

public void background(float x,
                       float y,
                       float z,
                       float a)
Pass-through method to underlying PGraphics object.

Parameters:
x -
y -
z -
a -
See Also:
http://processing.org/reference/

background

public void background(processing.core.PImage image)
Pass-through method to underlying PGraphics object.

Parameters:
image -
See Also:
http://processing.org/reference/

alpha

public final float alpha(int what)
Pass-through method to underlying PGraphics object.

Parameters:
what -
Returns:
alpha of given color
See Also:
http://processing.org/reference/

red

public final float red(int what)
Pass-through method to underlying PGraphics object.

Parameters:
what -
Returns:
red component of given color
See Also:
http://processing.org/reference/

green

public final float green(int what)
Pass-through method to underlying PGraphics object.

Parameters:
what -
Returns:
green component of given color
See Also:
http://processing.org/reference/

blue

public final float blue(int what)
Pass-through method to underlying PGraphics object.

Parameters:
what -
Returns:
blue component of given color
See Also:
http://processing.org/reference/

hue

public final float hue(int what)
Pass-through method to underlying PGraphics object.

Parameters:
what -
Returns:
hue of given color
See Also:
http://processing.org/reference/

saturation

public final float saturation(int what)
Pass-through method to underlying PGraphics object.

Parameters:
what -
Returns:
saturation of given color
See Also:
http://processing.org/reference/

brightness

public final float brightness(int what)
Pass-through method to underlying PGraphics object.

Parameters:
what -
Returns:
brightness of given color
See Also:
http://processing.org/reference/

lerpColor

public int lerpColor(int c1,
                     int c2,
                     float amt)
Pass-through method to underlying PGraphics object.

Parameters:
c1 -
c2 -
amt -
Returns:
interpolated color
See Also:
http://processing.org/reference/

lerpColor

public static int lerpColor(int c1,
                            int c2,
                            float amt,
                            int mode)
Pass-through method to underlying PGraphics object.

Parameters:
c1 -
c2 -
amt -
mode -
Returns:
interpolated color
See Also:
http://processing.org/reference/

beginRaw

public void beginRaw(processing.core.PGraphics rawGraphics)
Pass-through method to underlying PGraphics object.

Parameters:
rawGraphics -
See Also:
http://processing.org/reference/

endRaw

public void endRaw()
Pass-through method to underlying PGraphics object.

See Also:
http://processing.org/reference/

displayable

public boolean displayable()
Pass-through method to underlying PGraphics object.

Returns:
displayable value of PGraphics object.
See Also:
http://processing.org/reference/

mousePressed

public void mousePressed()
Override this method to process mousePressed events.


mouseReleased

public void mouseReleased()
Override this method to process mouseReleased events.


mouseClicked

public void mouseClicked()
Override this method to process mouseClicked events.


mouseDragged

public void mouseDragged()
Override this method to process mouseDragged events.


mouseMoved

public void mouseMoved()
Override this method to process mouseMoved events.


keyPressed

public void keyPressed()
Override this method to process keyPressed events.


keyReleased

public void keyReleased()
Override this method to process keyReleased events.


keyTyped

public void keyTyped()
Override this method to process keyTyped events.



processing library layers by Michael Krumpus. (c) 2009-2011