processing.candy
Class Path

java.lang.Object
  extended by processing.core.PShape
      extended by processing.candy.BaseObject
          extended by processing.candy.Path
All Implemented Interfaces:
PConstants

public class Path
extends BaseObject


Field Summary
 boolean closed
           
 int count
           
static int CURVETO
           
 int[] kind
           
static int LINETO
           
static int MOVETO
           
static int QCURVETO
           
 float[] x
           
 float[] y
           
 
Fields inherited from interface processing.core.PConstants
ADD, ALPHA, ALPHA_MASK, ALT, AMBIENT, ARGB, ARROW, BACKSPACE, BASELINE, BEVEL, BLEND, BLUE_MASK, BLUR, BOTTOM, BURN, CENTER, CENTER_RADIUS, CHATTER, CLOSE, CMYK, CODED, COMPLAINT, CONTROL, CORNER, CORNERS, CROSS, CUSTOM, DARKEST, DEG_TO_RAD, DELETE, DIFFERENCE, DILATE, DIRECTIONAL, DISABLE_ACCURATE_TEXTURES, DISABLE_DEPTH_SORT, DISABLE_DEPTH_TEST, DISABLE_NATIVE_FONTS, DISABLE_OPENGL_ERROR_REPORT, DODGE, DOWN, DXF, ENABLE_ACCURATE_TEXTURES, ENABLE_DEPTH_SORT, ENABLE_DEPTH_TEST, ENABLE_NATIVE_FONTS, ENABLE_OPENGL_2X_SMOOTH, ENABLE_OPENGL_4X_SMOOTH, ENABLE_OPENGL_ERROR_REPORT, ENTER, EPSILON, ERODE, ESC, EXCLUSION, GIF, GRAY, GREEN_MASK, GROUP, HALF_PI, HAND, HARD_LIGHT, HINT_COUNT, HSB, IMAGE, INVERT, JAVA2D, JPEG, LEFT, LIGHTEST, LINES, LINUX, MACOSX, MAX_FLOAT, MAX_INT, MIN_FLOAT, MIN_INT, MITER, MODEL, MOVE, MULTIPLY, NORMALIZED, OPAQUE, OPEN, OPENGL, ORTHOGRAPHIC, OTHER, OVERLAY, P2D, P3D, PDF, PERSPECTIVE, PI, PIXEL_CENTER, POINT, POINTS, POLYGON, POSTERIZE, PROBLEM, PROJECT, QUAD_STRIP, QUADS, QUARTER_PI, RAD_TO_DEG, RADIUS, RED_MASK, REPLACE, RETURN, RGB, RIGHT, ROUND, SCREEN, SHAPE, SHIFT, SOFT_LIGHT, SPOT, SQUARE, SUBTRACT, TAB, TARGA, TEXT, THIRD_PI, THRESHOLD, TIFF, TOP, TRIANGLE_FAN, TRIANGLE_STRIP, TRIANGLES, TWO_PI, UP, WAIT, WHITESPACE, WINDOWS
 
Constructor Summary
Path(BaseObject parent, XMLElement properties)
           
 
Method Summary
 void drawImpl(PGraphics g)
          Draws the SVG document.
 
Methods inherited from class processing.candy.BaseObject
getChild, ignoreStyles, ignoreStyles, print
 
Methods inherited from class processing.core.PShape
addChild, applyMatrix, applyMatrix, draw, draw, draw, drawMode, findChild, getChild, getChildCount, getHeight, getName, getWidth, isVisible, post, resetMatrix, rotate, rotate, rotateX, rotateY, rotateZ, scale, scale, scale, setName, setVisible, translate, translate
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

count

public int count

x

public float[] x

y

public float[] y

MOVETO

public static final int MOVETO
See Also:
Constant Field Values

LINETO

public static final int LINETO
See Also:
Constant Field Values

CURVETO

public static final int CURVETO
See Also:
Constant Field Values

QCURVETO

public static final int QCURVETO
See Also:
Constant Field Values

kind

public int[] kind

closed

public boolean closed
Constructor Detail

Path

public Path(BaseObject parent,
            XMLElement properties)
Method Detail

drawImpl

public void drawImpl(PGraphics g)
Description copied from class: PShape
Draws the SVG document.

Overrides:
drawImpl in class BaseObject