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

Packages that use PABezShape
Package
Description
net.paulhertz.pixelaudio.curves
Gesture, path, and Bézier curve modeling classes for PixelAudio.

- ## Uses of PABezShape in net.paulhertz.pixelaudio.curves

  Fields in net.paulhertz.pixelaudio.curves declared as PABezShape
  Modifier and Type
  Field
  Description
  `private PABezShape`
  PACurveMaker.`brushShape`
  A simulated brush stroke derived from curveShape, a closed shape rather than a curved line
  `private PABezShape`
  PACurveMaker.`curveShape`
  A path composed of Bezier curves and lines, a continuous curved line derived from rdpPoints
  Methods in net.paulhertz.pixelaudio.curves that return PABezShape
  Modifier and Type
  Method
  Description
  `PABezShape`
  PACurveMaker.`buildBrushShape(ArrayList<processing.core.PVector> knotPoints)`
  `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`
  PABezShape.`clone()`
  Creates a deep copy of this BezShape.
  `PABezShape`
  PACurveMaker.`getBrushShape()`
  `PABezShape`
  PACurveMaker.`getCurve()`
  Alias for getCurveShape().
  `PABezShape`
  PACurveMaker.`getCurveShape()`
  `PABezShape`
  PACurveMaker.`getWeightedBrushShape()`
  `PABezShape`
  PACurveMaker.`getWeightedBrushShape(float brushSize, float bias)`
  `PABezShape`
  PACurveMaker.`getWeightedCurveShape()`
  `PABezShape`
  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 GestureSchedule`
  PACurveUtility.`buildScheduleFromBezShape(PABezShape shape, int steps, float[] anchorTimesMs, boolean arcLengthTime)`
  Schedules times along a gestural curve, typically stored as a PACurveMaker instance.
  `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.`setCustomBrushShape(PABezShape customBrushShape)`
  Replaces the closed PABezShape "brushstroke" with a shape of your own choosing.
  `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.