# Constant Field Values

## Contents

- processing.core.*
- processing.data.*
- processing.event.*
- processing.opengl.*

## processing.core.*

- processing.core.PApplet
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final java.lang.String` | `ARGS_BGCOLOR` | `"--bgcolor"`
  `public static final java.lang.String` | `ARGS_DISPLAY` | `"--display"`
  `public static final java.lang.String` | `ARGS_EDITOR_LOCATION` | `"--editor-location"`
  `public static final java.lang.String` | `ARGS_EXTERNAL` | `"--external"`
  `public static final java.lang.String` | `ARGS_FULL_SCREEN` | `"--full-screen"`
  `public static final java.lang.String` | `ARGS_HIDE_STOP` | `"--hide-stop"`
  `public static final java.lang.String` | `ARGS_LOCATION` | `"--location"`
  `public static final java.lang.String` | `ARGS_PRESENT` | `"--present"`
  `public static final java.lang.String` | `ARGS_SKETCH_FOLDER` | `"--sketch-path"`
  `public static final java.lang.String` | `ARGS_STOP_COLOR` | `"--stop-color"`
  `public static final int` | `DEFAULT_HEIGHT` | `100`
  `public static final int` | `DEFAULT_WIDTH` | `100`
  `public static final java.lang.String` | `EXTERNAL_MOVE` | `"__MOVE__"`
  `public static final java.lang.String` | `EXTERNAL_STOP` | `"__STOP__"`
  `public static final int` | `MIN_WINDOW_HEIGHT` | `128`
  `public static final int` | `MIN_WINDOW_WIDTH` | `128`

- processing.core.PConstants
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final int` | `ADD` | `2`
  `public static final int` | `ALPHA` | `4`
  `public static final int` | `ALT` | `18`
  `public static final int` | `AMBIENT` | `0`
  `public static final int` | `ARC` | `32`
  `public static final int` | `ARGB` | `2`
  `public static final int` | `ARROW` | `0`
  `public static final char` | `BACKSPACE` | `8`
  `public static final int` | `BASELINE` | `0`
  `public static final int` | `BEVEL` | `32`
  `public static final int` | `BEZIER_VERTEX` | `1`
  `public static final int` | `BLEND` | `1`
  `public static final int` | `BLUR` | `11`
  `public static final int` | `BOTTOM` | `102`
  `public static final int` | `BOX` | `41`
  `public static final int` | `BREAK` | `4`
  `public static final int` | `BURN` | `8192`
  `public static final int` | `CENTER` | `3`
  `public static final int` | `CHATTER` | `0`
  `public static final int` | `CHORD` | `2`
  `public static final int` | `CLAMP` | `0`
  `public static final int` | `CLOSE` | `2`
  `public static final int` | `CODED` | `65535`
  `public static final int` | `COMPLAINT` | `1`
  `public static final int` | `CONTROL` | `17`
  `public static final int` | `CORNER` | `0`
  `public static final int` | `CORNERS` | `1`
  `public static final int` | `CROSS` | `1`
  `public static final int` | `CURVE_VERTEX` | `3`
  `public static final int` | `CUSTOM` | `0`
  `public static final int` | `DARKEST` | `16`
  `public static final float` | `DEG_TO_RAD` | `0.01745329238474369f`
  `public static final char` | `DELETE` | `127`
  `public static final int` | `DIAMETER` | `3`
  `public static final int` | `DIFFERENCE` | `32`
  `public static final int` | `DILATE` | `18`
  `public static final int` | `DIRECTIONAL` | `1`
  `public static final int` | `DISABLE_DEPTH_MASK` | `5`
  `public static final int` | `DISABLE_DEPTH_SORT` | `-3`
  `public static final int` | `DISABLE_DEPTH_TEST` | `2`
  `public static final int` | `DISABLE_NATIVE_FONTS` | `-1`
  `public static final int` | `DISABLE_OPENGL_ERRORS` | `4`
  `public static final int` | `DISABLE_OPTIMIZED_STROKE` | `6`
  `public static final int` | `DISABLE_RETINA_PIXELS` | `-10`
  `public static final int` | `DISABLE_STROKE_PERSPECTIVE` | `-7`
  `public static final int` | `DISABLE_STROKE_PURE` | `-9`
  `public static final int` | `DISABLE_TEXTURE_MIPMAPS` | `8`
  `public static final int` | `DODGE` | `4096`
  `public static final int` | `DOWN` | `40`
  `public static final java.lang.String` | `DXF` | `"processing.dxf.RawDXF"`
  `public static final int` | `ELLIPSE` | `31`
  `public static final int` | `ENABLE_DEPTH_MASK` | `-5`
  `public static final int` | `ENABLE_DEPTH_SORT` | `3`
  `public static final int` | `ENABLE_DEPTH_TEST` | `-2`
  `public static final int` | `ENABLE_NATIVE_FONTS` | `1`
  `public static final int` | `ENABLE_OPENGL_ERRORS` | `-4`
  `public static final int` | `ENABLE_OPTIMIZED_STROKE` | `-6`
  `public static final int` | `ENABLE_RETINA_PIXELS` | `10`
  `public static final int` | `ENABLE_STROKE_PERSPECTIVE` | `7`
  `public static final int` | `ENABLE_STROKE_PURE` | `9`
  `public static final int` | `ENABLE_TEXTURE_MIPMAPS` | `-8`
  `public static final char` | `ENTER` | `10`
  `public static final float` | `EPSILON` | `9.999999747378752E-5f`
  `public static final int` | `ERODE` | `17`
  `public static final java.lang.String` | `ERROR_BACKGROUND_IMAGE_FORMAT` | `"background images should be RGB or ARGB"`
  `public static final java.lang.String` | `ERROR_BACKGROUND_IMAGE_SIZE` | `"background image must be the same size as your application"`
  `public static final java.lang.String` | `ERROR_PUSHMATRIX_OVERFLOW` | `"Too many calls to pushMatrix()."`
  `public static final java.lang.String` | `ERROR_PUSHMATRIX_UNDERFLOW` | `"Too many calls to popMatrix(), and not enough to pushMatrix()."`
  `public static final java.lang.String` | `ERROR_TEXTFONT_NULL_PFONT` | `"A null PFont was passed to textFont()"`
  `public static final char` | `ESC` | `27`
  `public static final int` | `EXCLUSION` | `64`
  `public static final int` | `GIF` | `3`
  `public static final int` | `GRAY` | `12`
  `public static final int` | `GROUP` | `0`
  `public static final float` | `HALF_PI` | `1.5707963705062866f`
  `public static final int` | `HAND` | `12`
  `public static final int` | `HARD_LIGHT` | `1024`
  `public static final int` | `HINT_COUNT` | `11`
  `public static final int` | `HSB` | `3`
  `public static final int` | `IMAGE` | `2`
  `public static final int` | `INVERT` | `13`
  `public static final java.lang.String` | `JAVA2D` | `"processing.core.PGraphicsJava2D"`
  `public static final int` | `JPEG` | `2`
  `public static final int` | `LANDSCAPE` | `2`
  `public static final int` | `LEFT` | `37`
  `public static final int` | `LIGHTEST` | `8`
  `public static final int` | `LINE` | `4`
  `public static final int` | `LINE_LOOP` | `51`
  `public static final int` | `LINE_STRIP` | `50`
  `public static final int` | `LINES` | `5`
  `public static final int` | `LINUX` | `3`
  `public static final int` | `MACOSX` | `2`
  `public static final float` | `MAX_FLOAT` | `3.4028234663852886E38f`
  `public static final int` | `MAX_INT` | `2147483647`
  `public static final float` | `MIN_FLOAT` | `-3.4028234663852886E38f`
  `public static final int` | `MIN_INT` | `-2147483648`
  `public static final int` | `MITER` | `8`
  `public static final int` | `MODEL` | `4`
  `public static final int` | `MODELVIEW` | `1`
  `public static final int` | `MOVE` | `13`
  `public static final int` | `MULTIPLY` | `128`
  `public static final int` | `NORMAL` | `1`
  `public static final int` | `OPAQUE` | `14`
  `public static final int` | `OPEN` | `1`
  `public static final java.lang.String` | `OPENGL` | `"processing.opengl.PGraphics3D"`
  `public static final int` | `ORTHOGRAPHIC` | `2`
  `public static final int` | `OTHER` | `0`
  `public static final int` | `OVERLAY` | `512`
  `public static final java.lang.String` | `P2D` | `"processing.opengl.PGraphics2D"`
  `public static final java.lang.String` | `P3D` | `"processing.opengl.PGraphics3D"`
  `public static final int` | `PATH` | `21`
  `public static final java.lang.String` | `PDF` | `"processing.pdf.PGraphicsPDF"`
  `public static final int` | `PERSPECTIVE` | `3`
  `public static final float` | `PI` | `3.1415927410125732f`
  `public static final int` | `PIE` | `3`
  `public static final int` | `POINT` | `2`
  `public static final int` | `POINTS` | `3`
  `public static final int` | `POLYGON` | `20`
  `public static final int` | `PORTRAIT` | `1`
  `public static final int` | `POSTERIZE` | `15`
  `public static final int` | `PROBLEM` | `2`
  `public static final int` | `PROJECT` | `4`
  `public static final int` | `PROJECTION` | `0`
  `public static final int` | `QUAD` | `16`
  `public static final int` | `QUAD_BEZIER_VERTEX` | `2`
  `public static final int` | `QUAD_STRIP` | `18`
  `public static final int` | `QUADRATIC_VERTEX` | `2`
  `public static final int` | `QUADS` | `17`
  `public static final float` | `QUARTER_PI` | `0.7853981852531433f`
  `public static final float` | `RAD_TO_DEG` | `57.2957763671875f`
  `public static final int` | `RADIUS` | `2`
  `public static final int` | `RECT` | `30`
  `public static final int` | `REPEAT` | `1`
  `public static final int` | `REPLACE` | `0`
  `public static final char` | `RETURN` | `13`
  `public static final int` | `RGB` | `1`
  `public static final int` | `RIGHT` | `39`
  `public static final int` | `ROUND` | `2`
  `public static final int` | `SCREEN` | `256`
  `public static final int` | `SHAPE` | `5`
  `public static final int` | `SHIFT` | `16`
  `public static final int` | `SOFT_LIGHT` | `2048`
  `public static final int` | `SPHERE` | `40`
  `public static final int` | `SPOT` | `3`
  `public static final int` | `SQUARE` | `1`
  `public static final int` | `SUBTRACT` | `4`
  `public static final char` | `TAB` | `9`
  `public static final int` | `TARGA` | `1`
  `public static final float` | `TAU` | `6.2831854820251465f`
  `public static final int` | `TEXT` | `2`
  `public static final float` | `THIRD_PI` | `1.0471975803375244f`
  `public static final int` | `THRESHOLD` | `16`
  `public static final int` | `TIFF` | `0`
  `public static final int` | `TOP` | `101`
  `public static final int` | `TRIANGLE` | `8`
  `public static final int` | `TRIANGLE_FAN` | `11`
  `public static final int` | `TRIANGLE_STRIP` | `10`
  `public static final int` | `TRIANGLES` | `9`
  `public static final float` | `TWO_PI` | `6.2831854820251465f`
  `public static final int` | `UP` | `38`
  `public static final int` | `VERTEX` | `0`
  `public static final int` | `WAIT` | `3`
  `public static final java.lang.String` | `WHITESPACE` | `" \t\n\r\f\u00a0"`
  `public static final int` | `WINDOWS` | `1`
  `public static final int` | `X` | `0`
  `public static final int` | `Y` | `1`
  `public static final int` | `Z` | `2`

- processing.core.PGraphics
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final int` | `A` | `6`
  `public static final int` | `AB` | `27`
  `public static final int` | `AG` | `26`
  `public static final int` | `AR` | `25`
  `public static final int` | `B` | `5`
  `public static final int` | `BEEN_LIT` | `35`
  `public static final int` | `DA` | `6`
  `public static final int` | `DB` | `5`
  `public static final int` | `DEFAULT_VERTICES` | `512`
  `public static final int` | `DG` | `4`
  `public static final int` | `DR` | `3`
  `public static final int` | `EB` | `34`
  `public static final int` | `EDGE` | `12`
  `public static final int` | `EG` | `33`
  `public static final int` | `ER` | `32`
  `public static final int` | `G` | `4`
  `public static final int` | `HAS_NORMAL` | `36`
  `public static final int` | `NX` | `9`
  `public static final int` | `NY` | `10`
  `public static final int` | `NZ` | `11`
  `public static final int` | `R` | `3`
  `public static final int` | `SA` | `16`
  `public static final int` | `SB` | `15`
  `public static final int` | `SG` | `14`
  `public static final int` | `SHINE` | `31`
  `public static final int` | `SPB` | `30`
  `public static final int` | `SPG` | `29`
  `public static final int` | `SPR` | `28`
  `public static final int` | `SR` | `13`
  `public static final int` | `SW` | `17`
  `public static final int` | `TX` | `18`
  `public static final int` | `TY` | `19`
  `public static final int` | `TZ` | `20`
  `public static final int` | `U` | `7`
  `public static final int` | `V` | `8`
  `public static final int` | `VERTEX_FIELD_COUNT` | `37`
  `public static final int` | `VW` | `24`
  `public static final int` | `VX` | `21`
  `public static final int` | `VY` | `22`
  `public static final int` | `VZ` | `23`

- processing.core.PImage
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final int` | `ALPHA_MASK` | `-16777216`
  `public static final int` | `BLUE_MASK` | `255`
  `public static final int` | `GREEN_MASK` | `65280`
  `public static final int` | `RED_MASK` | `16711680`

- processing.core.PShape
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final int` | `GEOMETRY` | `3`
  `public static final java.lang.String` | `INSIDE_BEGIN_END_ERROR` | `"%1$s can only be called outside beginShape() and endShape()"`
  `public static final java.lang.String` | `NO_SUCH_VERTEX_ERROR` | `"%1$s vertex index does not exist"`
  `public static final java.lang.String` | `OUTSIDE_BEGIN_END_ERROR` | `"%1$s can only be called between beginShape() and endShape()"`
  `public static final int` | `PATH` | `2`
  `public static final int` | `PRIMITIVE` | `1`

## processing.data.*

- processing.data.Table
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final int` | `CATEGORY` | `5`
  `public static final int` | `DOUBLE` | `4`
  `public static final int` | `FLOAT` | `3`
  `public static final int` | `INT` | `1`
  `public static final int` | `LONG` | `2`
  `public static final int` | `STRING` | `0`

## processing.event.*

- processing.event.Event
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final int` | `ALT` | `8`
  `public static final int` | `CTRL` | `2`
  `public static final int` | `KEY` | `1`
  `public static final int` | `META` | `4`
  `public static final int` | `MOUSE` | `2`
  `public static final int` | `SHIFT` | `1`
  `public static final int` | `TOUCH` | `3`

- processing.event.KeyEvent
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final int` | `PRESS` | `1`
  `public static final int` | `RELEASE` | `2`
  `public static final int` | `TYPE` | `3`

- processing.event.MouseEvent
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final int` | `CLICK` | `3`
  `public static final int` | `DRAG` | `4`
  `public static final int` | `ENTER` | `6`
  `public static final int` | `EXIT` | `7`
  `public static final int` | `MOVE` | `5`
  `public static final int` | `PRESS` | `1`
  `public static final int` | `RELEASE` | `2`
  `public static final int` | `WHEEL` | `8`

## processing.opengl.*

- processing.opengl.LinePath
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final int` | `CAP_BUTT` | `0`
  `public static final int` | `CAP_ROUND` | `1`
  `public static final int` | `CAP_SQUARE` | `2`
  `public static final int` | `JOIN_BEVEL` | `2`
  `public static final int` | `JOIN_MITER` | `0`
  `public static final int` | `JOIN_ROUND` | `1`
  `public static final byte` | `SEG_CLOSE` | `2`
  `public static final byte` | `SEG_LINETO` | `1`
  `public static final byte` | `SEG_MOVETO` | `0`
  `public static final int` | `WIND_EVEN_ODD` | `0`
  `public static final int` | `WIND_NON_ZERO` | `1`

- processing.opengl.PJOGL
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final int` | `AWT` | `0`
  `public static final int` | `NEWT` | `1`

- processing.opengl.PShapeOpenGL
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final int` | `DIRECTION` | `3`
  `public static final int` | `NORMAL` | `1`
  `public static final int` | `OFFSET` | `4`
  `public static final int` | `POSITION` | `0`
  `public static final int` | `TEXCOORD` | `2`

- processing.opengl.Texture
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final int` | `MAX_BUFFER_CACHE_SIZE` | `3`