public class ShapeZone extends Zone
processing.opengl.PGraphicsOpenGL.BaseShader, processing.opengl.PGraphicsOpenGL.ColorShader, processing.opengl.PGraphicsOpenGL.GLResource, processing.opengl.PGraphicsOpenGL.IndexCache, processing.opengl.PGraphicsOpenGL.InGeometry, processing.opengl.PGraphicsOpenGL.LightShader, processing.opengl.PGraphicsOpenGL.LineShader, processing.opengl.PGraphicsOpenGL.PointShader, processing.opengl.PGraphicsOpenGL.Tessellator, processing.opengl.PGraphicsOpenGL.TessGeometry, processing.opengl.PGraphicsOpenGL.TexCache, processing.opengl.PGraphicsOpenGL.TexlightShader, processing.opengl.PGraphicsOpenGL.TextureShaderapplet, backupMatrix, children, dimension, direct, drawImpl, drawMethod, halfDimension, height, inverse, keyPressedMethod, keyReleasedMethod, keyTypedMethod, lastUpdate, matrix, maxHeight, maxWidth, minHeight, minWidth, name, parent, physics, pickColor, pickDrawMethod, pickImpl, pressMethod, renderer, rntRadius, scalingLimit, stealChildrensTouch, touchDownMethod, touchImpl, touchMethod, touchMovedMethod, touchUpMethod, width, x, ypganisoSamplingSupported, autoMipmapGenSupported, blendEqSupported, breakShape, camera, cameraAspect, cameraEyeX, cameraEyeY, cameraEyeZ, cameraFar, cameraFOV, cameraInv, cameraInvStack, cameraNear, cameraStack, cameraX, cameraY, cameraZ, clearColorBuffer, clearColorBuffer0, clip, clipRect, colorShader, currentFramebuffer, currentLightFalloffConstant, currentLightFalloffLinear, currentLightFalloffQuadratic, currentLightSpecular, defaultEdges, defColorShader, defColorShaderFragURL, defColorShaderVertURL, defLightShader, defLightShaderVertURL, defLineShader, defLineShaderFragURL, defLineShaderVertURL, defPointShader, defPointShaderFragURL, defPointShaderVertURL, defTexlightShader, defTexlightShaderVertURL, defTextureShader, defTextureShaderFragURL, defTextureShaderVertURL, depthBits, drawFramebuffer, drawing, EDGE_CLOSE, EDGE_MIDDLE, EDGE_SINGLE, EDGE_START, EDGE_STOP, FB_STACK_DEPTH, fboMultisampleSupported, fbStack, fbStackDepth, filterImage, filterTexture, floatBuffer, FLUSH_CONTINUOUSLY, FLUSH_WHEN_FULL, flushMode, fontMap, glFrameBuffers, glLineAttrib, glLineColor, glLineIndex, glLineVertex, glModelview, glNormal, glParamsRead, glPointAttrib, glPointColor, glPointIndex, glPointVertex, glPolyAmbient, glPolyColor, glPolyEmissive, glPolyIndex, glPolyNormal, glPolyShininess, glPolySpecular, glPolyTexcoord, glPolyVertex, glProjection, glProjmodelview, glRenderBuffers, GLSL_VERSION, glslFragmentShaders, glslPrograms, glslVertexShaders, glTextureObjects, glVertexBuffers, identity, IMMEDIATE, inGeo, INIT_INDEX_BUFFER_SIZE, INIT_VERTEX_BUFFER_SIZE, initialized, intBuffer, lastBlendMode, lastSmoothCall, lightAmbient, lightCount, lightDiffuse, lightFalloffCoefficients, lightNormal, lightPosition, lights, lightsAllocated, lightShader, lightSpecular, lightSpotParameters, lightType, lineBuffersContext, lineBuffersCreated, lineShader, manipulatingCamera, maskShader, maskShaderFragURL, matricesAllocated, MATRIX_STACK_DEPTH, MAX_POINT_ACCURACY, maxAnisoAmount, maxLineWidth, maxPointSize, maxSamples, maxTextureSize, MIN_POINT_ACCURACY, modelview, modelviewInv, modelviewInvStack, modelviewStack, modelviewStackDepth, multisampleFramebuffer, nativePixelBuffer, nativePixels, npotTexSupported, offscreenFramebuffer, offscreenMultisample, OP_NONE, OP_READ, OP_WRITE, openContour, OPENGL_EXTENSIONS, OPENGL_RENDERER, OPENGL_VENDOR, OPENGL_VERSION, packedDepthStencilSupported, pgCurrent, pgl, pgPrimary, pixelBuffer, pixelsOp, pixOpChangedFB, POINT_ACCURACY_FACTOR, pointBuffersContext, pointBuffersCreated, pointShader, polyBuffersContext, polyBuffersCreated, projection, projectionStack, projectionStackDepth, projmodelview, ptexture, QUAD_POINT_SIGNS, readFramebuffer, restoreSurface, RETAINED, setgetPixels, shaderWarningsEnabled, sized, smoothCallCount, smoothDisabled, stencilBits, tessellator, tessGeo, texCache, texlightShader, texture, textureImage0, textureSampling, textureShader, textureWrap, viewportA, AB, AG, ambientB, ambientColor, ambientG, ambientR, AR, autoNormal, B, backgroundA, backgroundAi, backgroundAlpha, backgroundB, backgroundBi, backgroundColor, backgroundG, backgroundGi, backgroundR, backgroundRi, BEEN_LIT, bezierBasisInverse, bezierBasisMatrix, bezierDetail, bezierDrawMatrix, bezierInited, blendMode, cacheMap, calcA, calcAi, calcAlpha, calcB, calcBi, calcColor, calcG, calcGi, calcR, calcRi, canvas, colorMode, colorModeA, colorModeX, colorModeY, colorModeZ, cosLUT, curveBasisMatrix, curveDetail, curveDrawMatrix, curveInited, curveTightness, curveToBezierMatrix, curveVertexCount, curveVertices, DA, DB, DEFAULT_STROKE_CAP, DEFAULT_STROKE_JOIN, DEFAULT_STROKE_WEIGHT, DEFAULT_VERTICES, DG, DR, EB, edge, EDGE, EG, ellipseMode, emissiveB, emissiveColor, emissiveG, emissiveR, ER, fill, fillA, fillAi, fillAlpha, fillB, fillBi, fillColor, fillG, fillGi, fillR, fillRi, G, HAS_NORMAL, hints, image, imageMode, NORMAL_MODE_AUTO, NORMAL_MODE_SHAPE, NORMAL_MODE_VERTEX, normalMode, normalX, normalY, normalZ, NX, NY, NZ, path, pixelCount, primarySurface, quality, R, raw, reapplySettings, rectMode, SA, SB, setAmbient, settingsInited, SG, shape, shapeMode, SHINE, shininess, SINCOS_LENGTH, SINCOS_PRECISION, sinLUT, smooth, SPB, specularB, specularColor, specularG, specularR, SPG, sphereDetailU, sphereDetailV, sphereX, sphereY, sphereZ, SPR, SR, stroke, strokeA, strokeAi, strokeAlpha, strokeB, strokeBi, strokeCap, strokeColor, strokeG, strokeGi, strokeJoin, strokeR, strokeRi, strokeWeight, SW, textAlign, textAlignY, textBreakCount, textBreakStart, textBreakStop, textBuffer, textFont, textLeading, textMode, textSize, textureImage, textureMode, textureU, textureV, textWidthBuffer, tint, tintA, tintAi, tintAlpha, tintB, tintBi, tintColor, tintG, tintGi, tintR, tintRi, TX, TY, TZ, U, V, VERTEX_FIELD_COUNT, vertexCount, vertices, VW, VX, VY, VZ, warningsALPHA_MASK, BLUE_MASK, format, GREEN_MASK, loaded, modified, mx1, mx2, my1, my2, pixels, RED_MASK, saveImageFormatsADD, ALPHA, ALT, AMBIENT, ARC, ARGB, ARROW, BACKSPACE, BASELINE, BEVEL, BEZIER_VERTEX, BLEND, BLUR, BOTTOM, BOX, BREAK, BURN, CENTER, CHATTER, CHORD, CLAMP, CLOSE, CODED, COMPLAINT, CONTROL, CORNER, CORNERS, CROSS, CURVE_VERTEX, CUSTOM, DARKEST, DEG_TO_RAD, DELETE, DIAMETER, DIFFERENCE, DILATE, DIRECTIONAL, DISABLE_DEPTH_MASK, DISABLE_DEPTH_SORT, DISABLE_DEPTH_TEST, DISABLE_NATIVE_FONTS, DISABLE_OPENGL_ERRORS, DISABLE_OPTIMIZED_STROKE, DISABLE_RETINA_PIXELS, DISABLE_STROKE_PERSPECTIVE, DISABLE_STROKE_PURE, DISABLE_TEXTURE_MIPMAPS, DODGE, DOWN, DXF, ELLIPSE, ENABLE_DEPTH_MASK, ENABLE_DEPTH_SORT, ENABLE_DEPTH_TEST, ENABLE_NATIVE_FONTS, ENABLE_OPENGL_ERRORS, ENABLE_OPTIMIZED_STROKE, ENABLE_RETINA_PIXELS, ENABLE_STROKE_PERSPECTIVE, ENABLE_STROKE_PURE, ENABLE_TEXTURE_MIPMAPS, ENTER, EPSILON, ERODE, ERROR_BACKGROUND_IMAGE_FORMAT, ERROR_BACKGROUND_IMAGE_SIZE, ERROR_PUSHMATRIX_OVERFLOW, ERROR_PUSHMATRIX_UNDERFLOW, ERROR_TEXTFONT_NULL_PFONT, ESC, EXCLUSION, GIF, GRAY, GROUP, HALF_PI, HAND, HARD_LIGHT, HINT_COUNT, HSB, IMAGE, INVERT, JAVA2D, JPEG, LANDSCAPE, LEFT, LIGHTEST, LINE, LINE_LOOP, LINE_STRIP, LINES, LINUX, MACOSX, MAX_FLOAT, MAX_INT, MIN_FLOAT, MIN_INT, MITER, MODEL, MODELVIEW, MOVE, MULTIPLY, NORMAL, OPAQUE, OPEN, OPENGL, ORTHOGRAPHIC, OTHER, OVERLAY, P2D, P3D, PATH, PDF, PERSPECTIVE, PI, PIE, platformNames, POINT, POINTS, POLYGON, PORTRAIT, POSTERIZE, PROBLEM, PROJECT, PROJECTION, QUAD, QUAD_BEZIER_VERTEX, QUAD_STRIP, QUADRATIC_VERTEX, QUADS, QUARTER_PI, RAD_TO_DEG, RADIUS, RECT, REPEAT, REPLACE, RETURN, RGB, RIGHT, ROUND, SCREEN, SHAPE, SHIFT, SOFT_LIGHT, SPHERE, SPOT, SQUARE, SUBTRACT, TAB, TARGA, TAU, TEXT, THIRD_PI, THRESHOLD, TIFF, TOP, TRIANGLE, TRIANGLE_FAN, TRIANGLE_STRIP, TRIANGLES, TWO_PI, UP, VERTEX, WAIT, WHITESPACE, WINDOWS, X, Y, Z| Constructor and Description |
|---|
ShapeZone() |
ShapeZone(int x,
int y,
int width,
int height) |
ShapeZone(int x,
int y,
int width,
int height,
java.lang.String renderer) |
ShapeZone(java.lang.String name) |
ShapeZone(java.lang.String name,
int x,
int y,
int width,
int height) |
ShapeZone(java.lang.String name,
int x,
int y,
int width,
int height,
java.lang.String renderer) |
ShapeZone(java.lang.String name,
java.lang.String renderer) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
pickDrawImpl()
Override to specify a default behavior for pickDraw
|
add, add, addPhysicsMouseJoint, addXMLZone, assign, assign, background, background, background, background, background, background, background, beginDraw, beginPickDraw, beginTouch, clearChildren, clone, clone, clone, contains, disableScalingLimit, drag, drag, drag, drag, drag, drag, drag, drag, drag, drag, drag, drag, dragWithinParent, draw, draw, drawChild, drawChildren, drawDirectChildren, drawForPickBuffer, drawImpl, drawIndirectChildren, drawIndirectImage, drawRntCircle, enableScalingLimit, endDraw, endPickDraw, endTouch, fill, fill, fill, fill, fill, fill, fromZoneVector, getActiveTouch, getBoundObject, getCentre, getChild, getChildCount, getChildren, getGlobalMatrix, getHalfSize, getHeight, getIds, getLocalX, getLocalX, getLocalY, getLocalY, getName, getNumTouches, getOrigin, getParent, getPickColor, getRntRadius, getRotationAngle, getSize, getTouchCollection, getTouches, getTouchMap, getTouchPairs, getTouchPairs, getWidth, getX, getY, hSwipe, hSwipe, init, isActive, isAncestor, isAssigned, isAssigned, isChildActive, isDirect, keyEvent, keyPressed, keyPressed, keyPressedImpl, keyReleased, keyReleased, keyReleasedImpl, keyTyped, keyTyped, keyTypedImpl, loadMethods, loadMethods, maxTime, maxTime, pinch, pinch, pressImpl, pressInvoker, pressRegister, putChildOnTop, remove, remove, removeFromParent, removePickColor, resetMatrix, rnt, rnt, rnt, rnt, rnt, rotate, rotate, rotateAbout, rotateAbout, rotateAboutCentre, rs, rst, rst, rst, rst, rst, rst, rst, setBodyFromMatrix, setBoundObject, setData, setDirect, setHeight, setLocation, setMatrixFromBody, setName, setPickColor, setRntRadius, setSize, setWidth, setX, setY, stroke, stroke, stroke, stroke, stroke, stroke, swipeDown, swipeLeft, swipeRight, swipeUp, tint, tint, tint, tint, tint, tint, toss, touch, touch, touch, touchDownImpl, touchDownInvoker, touchDownRegister, touchImpl, touchMovedImpl, touchMovedInvoker, touchMovedRegister, touchUpImpl, touchUpInvoker, touchUpRegister, toZoneVector, unassign, unassign, unassignAll, updateOnlyWhenModified, vSwipe, vSwipeambient, ambient, ambient, ambientLight, ambientLight, applyMatrix, applyMatrix, applyMatrix, applyMatrix, applyMatrix, arc, arc, beginCamera, beginContour, beginPGL, beginRaw, beginShape, beginShape, bezier, bezier, bezierDetail, bezierPoint, bezierTangent, bezierVertex, bezierVertex, blend, blend, blendMode, box, box, camera, camera, clear, clip, colorMode, colorMode, colorMode, colorMode, copy, copy, curve, curve, curveDetail, curveTightness, curveVertex, curveVertex, directionalLight, edge, ellipse, ellipseMode, emissive, emissive, emissive, endCamera, endContour, endPGL, endRaw, endShape, endShape, filter, filter, filter, flush, frustum, get, get, get, getMatrix, getMatrix, getMatrix, getStyle, getStyle, hint, image, image, image, imageMode, init, lightFalloff, lights, lightSpecular, line, line, loadPixels, mask, mask, modelX, modelY, modelZ, noClip, noFill, noLights, normal, noSmooth, noStroke, noTexture, noTint, ortho, ortho, ortho, perspective, perspective, point, point, pointLight, popMatrix, popStyle, printCamera, printMatrix, printProjection, pushMatrix, pushStyle, quad, quadraticVertex, quadraticVertex, rect, rect, rect, rectMode, removeCache, requestDraw, resetShader, resetShader, rotate, rotate, rotateX, rotateY, rotateZ, save, scale, scale, scale, screenX, screenX, screenY, screenY, screenZ, set, set, setCache, setFrameRate, setMatrix, setMatrix, setMatrix, shader, shader, shape, shape, shape, shapeMode, shearX, shearY, shininess, smooth, smooth, specular, specular, specular, sphere, sphereDetail, sphereDetail, spotLight, strokeCap, strokeJoin, strokeWeight, style, text, text, text, text, text, text, text, text, text, text, text, textAlign, textAlign, textAscent, textDescent, textFont, textFont, textLeading, textMode, textSize, texture, textureMode, textureWrap, textWidth, textWidth, textWidth, translate, translate, triangle, updatePixels, updatePixels, vertex, vertex, vertex, vertex, vertexaddTexture, addTexture, allocate, allocatePixels, applyMatrixImpl, applyProjection, applyProjection, arcImpl, backgroundImpl, backgroundImpl, begin2D, beginOffscreenDraw, beginOnscreenDraw, beginPixelsOp, bezierVertexImpl, bindFrontTexture, blendModeImpl, camera, canDraw, checkGLThread, checkTexture, clipImpl, colorShaderCheck, createFrameBufferObject, createGLSLFragShaderObject, createGLSLProgramObject, createGLSLVertShaderObject, createLineBuffers, createPointBuffers, createPolyBuffers, createPTexture, createRenderBufferObject, createTextureObject, createVertexBufferObject, curveVertexImpl, defaultCamera, defaultPerspective, defaultSettings, deleteAllFrameBufferObjects, deleteAllGLSLFragShaderObjects, deleteAllGLSLProgramObjects, deleteAllGLSLVertShaderObjects, deleteAllRenderBufferObjects, deleteAllTextureObjects, deleteAllVertexBufferObjects, deleteDefaultShaders, deleteFinalizedFrameBufferObjects, deleteFinalizedGLResources, deleteFinalizedGLSLFragShaderObjects, deleteFinalizedGLSLProgramObjects, deleteFinalizedGLSLVertShaderObjects, deleteFinalizedRenderBufferObjects, deleteFinalizedTextureObjects, deleteFinalizedVertexBufferObjects, deleteFrameBufferObject, deleteGLSLFragShaderObject, deleteGLSLProgramObject, deleteGLSLVertShaderObject, deleteLineBuffers, deletePointBuffers, deletePolyBuffers, deleteRenderBufferObject, deleteSurfaceTextures, deleteTextureObject, deleteVertexBufferObject, diff, disableLighting, dispose, drawPixels, drawPTexture, drawTexture, drawTexture, enableLighting, end2D, endOffscreenDraw, endOnscreenDraw, endPixelsOp, endShape, expandArraySize, fillFromCalc, finalize, finalizeFrameBufferObject, finalizeGLSLFragShaderObject, finalizeGLSLProgramObject, finalizeGLSLVertShaderObject, finalizeRenderBufferObject, finalizeTextureObject, finalizeVertexBufferObject, flushLines, flushPixels, flushPoints, flushPolys, getFontTexture, getGLParameters, getHint, getImpl, getLineShader, getPointShader, getPolyShader, getShaderType, getTexture, getTexture, initCache, initOffscreen, initPrimary, invScale, invTranslate, isGL, lightAmbient, lightDiffuse, lightFalloff, lightNormal, lightPosition, lightShaderCheck, lightSpecular, lightSpot, lineBufferContextIsOutdated, lineImpl, loadShader, loadShader, loadShape, loadTexture, loadTextureImpl, newInGeometry, newTessGeometry, newTexCache, noLightAmbient, noLightDiffuse, noLightFalloff, noLightSpecular, noLightSpot, nonOrthoProjection, nonZero, orthoProjection, pointBuffersContextIsOutdated, pointImpl, polyBuffersContextIsOutdated, popFramebuffer, popProjection, pushFramebuffer, pushProjection, quadraticVertexImpl, readPixels, removeFontTexture, removeFrameBufferObject, removeGLSLFragShaderObject, removeGLSLProgramObject, removeGLSLVertShaderObject, removeRenderBufferObject, removeTextureObject, removeVertexBufferObject, report, requestFocus, resetProjection, resize, restartPGL, restoreGL, restoreSurfaceFromPixels, rotateImpl, same, saveSurfaceToPixels, scaleImpl, screenXImpl, screenXImpl, screenYImpl, screenYImpl, screenZImpl, screenZImpl, setDrawDefaults, setFlushMode, setFontTexture, setFramebuffer, setImpl, setPrimary, setProjection, setViewport, shaderWarnings, shape, shape, swapOffscreenTextures, tessellate, tessellate, texlightShaderCheck, textCharImpl, textCharModelImpl, textCharShapeImpl, textLineImpl, textModeCheck, textureSampling, textureShaderCheck, textWidthImpl, translateImpl, unbindFrontTexture, unbindLineBuffers, unbindPointBuffers, unbindPolyBuffers, updateDisplay, updateGLModelview, updateGLNormal, updateGLProjection, updateGLProjmodelview, updateLineBuffers, updatePointBuffers, updatePolyBuffers, updateProjmodelview, updateTexture, updateTexture, updateTexture, vertexCode, vertexImpl, wrapTexture, zeroalpha, ambientFromCalc, backgroundFromCalc, bezierInit, bezierInitCheck, bezierVertexCheck, bezierVertexCheck, blue, brightness, checkSettings, color, color, color, color, color, color, color, color, color, colorCalc, colorCalc, colorCalc, colorCalc, colorCalc, colorCalc, colorCalcARGB, createShape, createShape, createShape, createShape, curveInit, curveInitCheck, curvePoint, curveTangent, curveVertexCheck, curveVertexCheck, curveVertexSegment, curveVertexSegment, defaultFontOrDeath, defaultFontOrDeath, displayable, ellipseImpl, emissiveFromCalc, getCache, getRaw, green, haveRaw, hue, imageImpl, is2D, is3D, lerpColor, lerpColor, loadShape, reapplySettings, rectImpl, rectImpl, red, saturation, setParent, setPath, showDepthWarning, showDepthWarningXYZ, showException, showMethodWarning, showMissingWarning, showVariationWarning, showWarning, showWarning, specularFromCalc, splineForward, strokeFromCalc, textCharModelImpl, textCharScreenImpl, textLineAlignImpl, textSentence, textSentenceBreak, tintFromCalc, vertexCheck, vertexTextureblendColor, blurAlpha, blurARGB, blurRGB, buildBlurKernel, checkAlpha, dilate, getImage, getModifiedX1, getModifiedX2, getModifiedY1, getModifiedY2, getNative, isLoaded, isModified, loadTIFF, saveImageIO, saveTGA, saveTIFF, setLoaded, setLoaded, setModified, setModifiedpublic ShapeZone()
public ShapeZone(java.lang.String name)
name - - String: The name of the zonepublic ShapeZone(java.lang.String name,
java.lang.String renderer)
name - - String: The name of the zonerenderer - - String: The renderer used to draw this zonepublic ShapeZone(int x,
int y,
int width,
int height)
x - - int: X-coordinate of the upper left corner of the zoney - - int: Y-coordinate of the upper left corner of the zonewidth - - int: Width of the zoneheight - - int: Height of the zonepublic ShapeZone(int x,
int y,
int width,
int height,
java.lang.String renderer)
x - - int: X-coordinate of the upper left corner of the zoney - - int: Y-coordinate of the upper left corner of the zonewidth - - int: Width of the zoneheight - - int: Height of the zonerenderer - - String: The renderer used to draw this zonepublic ShapeZone(java.lang.String name,
int x,
int y,
int width,
int height)
name - - String: The name of the zonex - - int: X-coordinate of the upper left corner of the zoney - - int: Y-coordinate of the upper left corner of the zonewidth - - int: Width of the zoneheight - - int: Height of the zonepublic ShapeZone(java.lang.String name,
int x,
int y,
int width,
int height,
java.lang.String renderer)
name - - String: The name of the zonex - - int: X-coordinate of the upper left corner of the zoney - - int: Y-coordinate of the upper left corner of the zonewidth - - int: Width of the zoneheight - - int: Height of the zonerenderer - - String: The renderer used to draw this zoneprotected void pickDrawImpl()
ZonepickDrawImpl in class Zone