| Package | Description |
|---|---|
| net.returnvoid.graphics.shape |
A package for building, drawing and manipulating shapes.
|
| Modifier and Type | Method and Description |
|---|---|
LineSegments |
LineSegments.copy() |
LineSegments |
LineSegments.draw() |
LineSegments |
Rect.getLineSegments()
Converts the rectangle to LineSegments.
|
LineSegments |
CurvedLens.getLineSegments()
Returns the center LineSegments (raw version of the center curve).
|
LineSegments |
Curve.getLineSegments()
Converts this shape to a LineSegments.
|
LineSegments |
LineSegments.rotate(float angle) |
LineSegments |
LineSegments.rotate(processing.core.PVector rotationCenter,
float angle) |
LineSegments |
LineSegments.scale(float scale) |
LineSegments |
LineSegments.scale(processing.core.PVector scaleCenter,
float scale) |
LineSegments |
LineSegments.scale(processing.core.PVector scaleCenter,
float scaleX,
float scaleY)
Scales the shape by the given scaling factors.
|
LineSegments |
LineSegments.set(int i,
float x,
float y)
Updates the position of the control point with the given index.
|
LineSegments |
LineSegments.set(int i,
processing.core.PVector p)
Updates the position of the control point with the given index.
|
LineSegments |
LineSegments.setLength(float length)
Sets the length of this shape.
|
LineSegments |
LineSegments.setLength(processing.core.PVector center,
float length)
Sets the length of this shape.
|
LineSegments |
LineSegments.setLocation(float x,
float y) |
LineSegments |
LineSegments.setRotation(float angle) |
LineSegments |
LineSegments.setRotation(processing.core.PVector rotationCenter,
float angle) |
LineSegments |
LineSegments.setX(float x) |
LineSegments |
LineSegments.setY(float y) |
LineSegments |
Rect.toLineSegments()
Converts the rectangle to LineSegments.
|
LineSegments |
CurvedLens.toLineSegments()
Returns the center LineSegments (raw version of the center curve).
|
LineSegments |
Curve.toLineSegments()
Converts this shape to a LineSegments.
|
LineSegments |
Curve.toLineSegments(float detailScale)
Converts this shape to a LineSegments and optimizes the coordinates.
|
LineSegments |
Curve.toLineSegments(int details)
Converts this shape to a LineSegments and optimizes the coordinates.
|
LineSegments |
LineSegments.translate(float x,
float y) |