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
Fields in net.paulhertz.pixelaudio.curves declared as PABezShapeModifier and TypeFieldDescriptionprivate PABezShapePACurveMaker.brushShapeA simulated brush strokeprivate PABezShapePACurveMaker.curveShapeAn ArrayList of PABezShapes representing a continuous curved lineMethods in net.paulhertz.pixelaudio.curves that return PABezShapeModifier and TypeMethodDescriptionstatic PABezShapePACurveUtility.calculateCurve(ArrayList<processing.core.PVector> framePoints) Creates a Bezier curve from a supplied set of points.static PABezShapePACurveUtility.calculateWeightedCurve(ArrayList<processing.core.PVector> framePoints, float bias) static PABezShapePACurveUtility.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 PABezShapePACurveUtility.quickBrushShape(ArrayList<processing.core.PVector> points, float brushWidth) static PABezShapePACurveUtility.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 PABezShapePACurveUtility.quickBrushShape(ArrayList<processing.core.PVector> points, float brushWidth, float bias) Methods in net.paulhertz.pixelaudio.curves with parameters of type PABezShapeModifier and TypeMethodDescriptionstatic voidPACurveUtility.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 PABezShapePACurveUtility.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 voidPACurveUtility.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 voidPACurveUtility.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 voidPACurveUtility.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 voidPACurveUtility.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.voidPACurveMaker.setBrushShape(PABezShape brushShape) voidPACurveMaker.setCurveShape(PABezShape curveShape) static voidPACurveUtility.shapeDraw(processing.core.PApplet parent, PABezShape shape) Draws a PABezShape in a PApplet using local fill, stroke, and weight of the shape.static voidPACurveUtility.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 voidPACurveUtility.shapeDraw(processing.core.PGraphics pg, PABezShape shape) Draws a PABezShape in a PGraphics using local fill, stroke, and weight of the shape.static voidPACurveUtility.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.