| Package | Description |
|---|---|
| net.returnvoid.graphics.shape |
A package for building, drawing and manipulating shapes.
|
| Modifier and Type | Class and Description |
|---|---|
class |
Curve
A class for building and transforming curves (Catmull-Rom Curves).
|
class |
CurvedLens
A class for building and transforming lenses that a deformed by a curve
(Catmull-Rom Curves).
|
class |
Ellipse
A class for building and transforming ellipse.
|
class |
Line
A class for building and transforming lines.
|
class |
LineSegments
A class for building and transforming line segements.
|
class |
Rect
A class for building and transforming rectangles.
|
| Modifier and Type | Method and Description |
|---|---|
RShape |
RShape.copy()
Builds and returns a true copy of this shape.
|
RShape |
RShape.draw()
Draws the shape-
|
RShape |
RShape.rotate(float a)
Turns the shape through the given angle.
|
RShape |
RShape.rotate(processing.core.PVector c,
float a)
Turns the shape through the given angle.
|
RShape |
RShape.scale(float s)
Scale the shape by the given scaling factor.
|
RShape |
RShape.scale(processing.core.PVector p,
float s)
Scale the shape by the given scaling factor.
|
RShape |
RShape.setLocation(float x,
float y)
Translates the shape to the given location.
|
RShape |
RShape.setRotation(float a)
Rotates the shape to the given angle (past rotations will be overridden).
|
RShape |
RShape.setRotation(processing.core.PVector c,
float a)
Rotates the shape to the given angle (past rotations will be overridden).
|
RShape |
RShape.setX(float x)
Translates the shape to the given x-location.
|
RShape |
RShape.setY(float y)
Translates the shape to the given y-location.
|
RShape |
RShape.translate(float x,
float y)
Translates the coordinates by the given parameters x, y ( "moves
the shape by x, y").
|