PConstants

Fields  Modifier and Type Field and Description static int ADD  static int ALPHA  static int ALT  static int AMBIENT  static int ARC  static int ARGB  static int ARROW  static char BACKSPACE  static int BASELINE

Default vertical alignment for text placement

static int BEVEL  static int BEZIER_VERTEX  static int BLEND  static int BLUR  static int BOTTOM

Align text from the bottom, using the baseline.

static int BOX  static int BREAK  static int BURN  static int CENTER

Draw from the center, using second pair of values as the diameter.

static int CHATTER  static int CHORD  static int CLAMP

textures are clamped to their edges

static int CLOSE  static int CODED  static int COMPLAINT  static int CONTROL  static int CORNER

Draw mode convention to use (x, y) to (width, height)

static int CORNERS

Draw mode convention to use (x1, y1) to (x2, y2) coordinates

static int CROSS  static int CURVE_VERTEX  static int CUSTOM  static int DARKEST  static float DEG_TO_RAD  static char DELETE  static int DIAMETER

Synonym for the CENTER constant.

static int DIFFERENCE  static int DILATE  static int DIRECTIONAL  static int DISABLE_ASYNC_SAVEFRAME  static int DISABLE_BUFFER_READING  static int DISABLE_DEPTH_MASK  static int DISABLE_DEPTH_SORT  static int DISABLE_DEPTH_TEST  static int DISABLE_KEY_REPEAT  static int DISABLE_NATIVE_FONTS

Deprecated. 

static int DISABLE_OPENGL_ERRORS  static int DISABLE_OPTIMIZED_STROKE  static int DISABLE_STROKE_PERSPECTIVE  static int DISABLE_STROKE_PURE  static int DISABLE_TEXTURE_MIPMAPS  static int DODGE  static int DOWN  static java.lang.String DXF  static int ELLIPSE  static int ENABLE_ASYNC_SAVEFRAME  static int ENABLE_BUFFER_READING  static int ENABLE_DEPTH_MASK  static int ENABLE_DEPTH_SORT  static int ENABLE_DEPTH_TEST  static int ENABLE_KEY_REPEAT  static int ENABLE_NATIVE_FONTS

Deprecated. 

static int ENABLE_OPENGL_ERRORS  static int ENABLE_OPTIMIZED_STROKE  static int ENABLE_STROKE_PERSPECTIVE  static int ENABLE_STROKE_PURE  static int ENABLE_TEXTURE_MIPMAPS  static char ENTER  static float EPSILON  static int ERODE  static char ESC  static int EXCLUSION  static java.lang.String FX2D  static int GIF  static int GRAY  static int GROUP  static float HALF_PI

( begin auto-generated from HALF_PI.xml ) HALF_PI is a mathematical constant with the value 1.57079632679489661923.

static int HAND  static int HARD_LIGHT  static int HINT_COUNT  static int HSB  static int IMAGE

texture coordinates based on image width/height

static int INVERT  static java.lang.String JAVA2D  static int JPEG  static int LANDSCAPE

Screen orientation constant for landscape (the hot dog way).

static int LEFT  static int LIGHTEST  static int LINE  static int LINE_LOOP  static int LINE_STRIP  static int LINES  static int LINUX  static int MACOSX  static float MAX_FLOAT

Same as Float.MAX_VALUE, but included for parity with MIN_VALUE, and to avoid teaching static methods on the first day.

static int MAX_INT

Largest possible (positive) integer value

static float MIN_FLOAT

Note that Float.MIN_VALUE is the smallest positive value for a floating point number, not actually the minimum (negative) value for a float.

static int MIN_INT

Smallest possible (negative) integer value

static int MITER  static int MODEL

textMode(MODEL) is the default, meaning that characters will be affected by transformations like any other shapes.

static int MODELVIEW  static int MOVE  static int MULTIPLY  static int NORMAL

texture coordinates in 0..1 range

static int OPAQUE  static int OPEN  static java.lang.String OPENGL

Deprecated. 

static int ORTHOGRAPHIC  static int OTHER  static int OVERLAY  static java.lang.String P2D  static java.lang.String P3D  static int PATH  static java.lang.String PDF  static int PERSPECTIVE  static float PI

( begin auto-generated from PI.xml ) PI is a mathematical constant with the value 3.14159265358979323846.

static int PIE  static java.lang.String[] platformNames  static int POINT  static int POINTS  static int POLYGON  static int PORTRAIT

Screen orientation constant for portrait (the hamburger way).

static int POSTERIZE  static int PROBLEM  static int PROJECT  static int PROJECTION  static int QUAD  static int QUAD_BEZIER_VERTEX

Deprecated. 

static int QUAD_STRIP  static int QUADRATIC_VERTEX  static int QUADS  static float QUARTER_PI

( begin auto-generated from QUARTER_PI.xml ) QUARTER_PI is a mathematical constant with the value 0.7853982.

static float RAD_TO_DEG  static int RADIUS

Draw mode from the center, and using the radius

static int RECT  static int REPEAT

textures wrap around when uv values go outside 0..1 range

static int REPLACE  static char RETURN  static int RGB  static int RIGHT  static int ROUND  static int SCREEN  static int SHAPE

textMode(SHAPE) draws text using the the glyph outlines of individual characters rather than as textures.

static int SHIFT  static int SOFT_LIGHT  static int SPAN

Use with fullScreen() to indicate all available displays.

static int SPHERE  static int SPOT  static int SQUARE  static int SUBTRACT  static java.lang.String SVG  static char TAB  static int TARGA  static float TAU

( begin auto-generated from TAU.xml ) TAU is an alias for TWO_PI, a mathematical constant with the value 6.28318530717958647693.

static int TEXT  static float THIRD_PI  static int THRESHOLD  static int TIFF  static int TOP

Align text to the top

static int TRIANGLE  static int TRIANGLE_FAN  static int TRIANGLE_STRIP  static int TRIANGLES  static float TWO_PI

( begin auto-generated from TWO_PI.xml ) TWO_PI is a mathematical constant with the value 6.28318530717958647693.

static int UP  static int VERTEX  static int WAIT  static java.lang.String WHITESPACE  static int WINDOWS  static int X  static int Y  static int Z