Uses of Class
net.paulhertz.pixelaudio.curves.PABezShape

Packages that use PABezShape
Package
Description
Package net.paulhertz.pixelaudio.curves implements light weight classes for Bezier curve modeling.
  • Uses of PABezShape in net.paulhertz.pixelaudio.curves

    Modifier and Type
    Field
    Description
    private PABezShape
    PACurveMaker.brushShape
    A simulated brush stroke
    private PABezShape
    PACurveMaker.curveShape
    An ArrayList of PABezShapes representing a continuous curved line
    Modifier and Type
    Method
    Description
    static PABezShape
    PACurveUtility.calculateCurve(ArrayList<processing.core.PVector> framePoints)
    Creates a Bezier curve from a supplied set of points.
    static PABezShape
    PACurveUtility.calculateWeightedCurve(ArrayList<processing.core.PVector> framePoints, float bias)
     
    static PABezShape
    PACurveUtility.calculateWeightedCurve(PABezShape bezPoints, float bias)
    Scales the position of the curve control points on a Bezier curve by a factor determined by the length of the line between the two anchor points and a bias value, such as PACurveUtility.LAMBDA.
    PABezShape.clone()
    Creates a deep copy of this BezShape.
    PACurveMaker.getBrushShape()
     
    PACurveMaker.getCurveShape()
     
    PACurveMaker.getWeightedBrushShape()
     
    PACurveMaker.getWeightedBrushShape(float brushSize, float bias)
     
    PACurveMaker.getWeightedCurveShape()
     
    PACurveMaker.getWeightedCurveShape(float bias)
    Calculates a PABezSHape with distances between control points and anchor points adjusted by bezierBias.
    static PABezShape
    PACurveUtility.quickBrushShape(ArrayList<processing.core.PVector> points, float brushWidth)
     
    static PABezShape
    PACurveUtility.quickBrushShape(ArrayList<processing.core.PVector> points, float brushWidth, boolean isDrawWeighted, float bias)
    Simulates a brush stroke as a PABezShape object by creating two Bezier curves offset on either side of a supplied list of 2D PVector objects and joining them into a closed shape with pointed ends.
    static PABezShape
    PACurveUtility.quickBrushShape(ArrayList<processing.core.PVector> points, float brushWidth, float bias)
     
    Methods in net.paulhertz.pixelaudio.curves with parameters of type PABezShape
    Modifier and Type
    Method
    Description
    static void
    PACurveUtility.calculateWeightedCurve(PABezShape bezPoints)
    Scales the position of the curve control points on a Bezier curve by a factor determined by the length of the line between the two anchor points and a bias value, such as PACurveUtility.LAMBDA (the default, in this method).
    static PABezShape
    PACurveUtility.calculateWeightedCurve(PABezShape bezPoints, float bias)
    Scales the position of the curve control points on a Bezier curve by a factor determined by the length of the line between the two anchor points and a bias value, such as PACurveUtility.LAMBDA.
    static void
    PACurveUtility.curveDraw(processing.core.PApplet parent, PABezShape curve)
    Draws a Bezier path in a PApplet using 2D curve data and the local stroke color and weight of a PABezShape.
    static void
    PACurveUtility.curveDraw(processing.core.PApplet parent, PABezShape curve, int curveColor, float curveWeight)
    Draws a Bezier path in a PApplet using 2D curve data and supplied stroke color and weight.
    static void
    PACurveUtility.curveDraw(processing.core.PGraphics pg, PABezShape curve)
    Draws a Bezier path in a PGraphics using 2D curve data and local stroke color and weight of a PABezShape.
    static void
    PACurveUtility.curveDraw(processing.core.PGraphics pg, PABezShape curve, int curveColor, float curveWeight)
    Draws a Bezier path in a PGraphics using 2D curve data and supplied stroke color and weight.
    void
    PACurveMaker.setBrushShape(PABezShape brushShape)
     
    void
    PACurveMaker.setCurveShape(PABezShape curveShape)
     
    static void
    PACurveUtility.shapeDraw(processing.core.PApplet parent, PABezShape shape)
    Draws a PABezShape in a PApplet using local fill, stroke, and weight of the shape.
    static void
    PACurveUtility.shapeDraw(processing.core.PApplet parent, PABezShape shape, int shapeFill, int shapeStroke, float shapeWeight)
    Draws a PABezShape in a PApplet using supplied fill, stroke, and weight.
    static void
    PACurveUtility.shapeDraw(processing.core.PGraphics pg, PABezShape shape)
    Draws a PABezShape in a PGraphics using local fill, stroke, and weight of the shape.
    static void
    PACurveUtility.shapeDraw(processing.core.PGraphics pg, PABezShape shape, int shapeFill, int shapeStroke, float shapeWeight)
    Draws a PABezShape in a PGraphics using supplied fill, stroke, and weight.