| Package | Description |
|---|---|
| net.returnvoid.graphics.shape |
A package for building, drawing and manipulating shapes.
|
| Modifier and Type | Method and Description |
|---|---|
Curve |
Curve.copy() |
Curve |
Curve.draw() |
Curve |
LineSegments.getCurve()
Converts this shape to a curve.
|
Curve |
CurvedLens.getCurve()
Returns the center curve.
|
Curve |
Curve.rotate(float angle) |
Curve |
Curve.rotate(processing.core.PVector rotationCenter,
float angle) |
Curve |
Curve.scale(float scale) |
Curve |
Curve.scale(processing.core.PVector scaleCenter,
float scale) |
Curve |
Curve.scale(processing.core.PVector scaleCenter,
float scaleX,
float scaleY)
Scales the shape by the given scaling factors.
|
Curve |
Curve.setControlPoint(int which,
processing.core.PVector p)
Sets one of the control points, which is not seen, but used to describe
the start or end of the curve.
|
Curve |
Curve.setLength(float newLength)
Sets the length (not arclength) of this curve.
|
Curve |
Curve.setLength(processing.core.PVector center,
float newLength)
Sets the length (not arclength) of this curve.
|
Curve |
Curve.setLocation(float x,
float y) |
Curve |
Curve.setRotation(float angle) |
Curve |
Curve.setRotation(processing.core.PVector rotationCenter,
float angle) |
Curve |
Curve.setX(float x) |
Curve |
Curve.setY(float y) |
Curve |
LineSegments.toCurve()
Converts this shape to a curve.
|
Curve |
CurvedLens.toCurve()
Returns the center curve.
|
Curve |
CurvedLens.toSmoothedCurve()
Returns the a smoothend version of the center curve (smoothness depends
on detailScale).
|
Curve |
Curve.toSmoothedCurve()
Smoothens the curve: All coordinates of the returned curve will have a
equal distance to each other.
|
Curve |
Curve.toSmoothedCurve(float detailScale)
Smoothens the curve: All coordinates of the returned curve will have a
equal distance to each other.
|
Curve |
Curve.toSmoothedCurve(int details)
Smoothens the curve: All coordinates of the returned curve will have a
equal distance to each other.
|
Curve |
Curve.translate(float x,
float y) |