| Package | Description |
|---|---|
| net.returnvoid.graphics.shape |
A package for building, drawing and manipulating shapes.
|
| Modifier and Type | Method and Description |
|---|---|
Rect |
Rect.copy() |
Rect |
Rect.draw() |
Rect |
RShape.getBoundingBox()
Returns the bounding box of this shape (will mark the bounds of the
shape).
|
Rect |
Rect.getBoundingBox() |
Rect |
LineSegments.getBoundingBox() |
Rect |
Line.getBoundingBox() |
Rect |
Ellipse.getBoundingBox() |
Rect |
CurvedLens.getBoundingBox() |
Rect |
Curve.getBoundingBox() |
Rect |
Rect.rotate(float angle) |
Rect |
Rect.rotate(processing.core.PVector rotationCenter,
float angle) |
Rect |
Rect.scale(float scale) |
Rect |
Rect.scale(processing.core.PVector scaleCenter,
float scale) |
Rect |
Rect.scale(processing.core.PVector scaleCenter,
float scaleX,
float scaleY)
Scales the shape by the given scaling factors.
|
Rect |
Rect.setDimension(float width,
float height)
Sets the width and height of the rectangle.
|
Rect |
Rect.setDimension(processing.core.PVector center,
float width,
float height)
Sets the width and height of the rectangle.
|
Rect |
Rect.setHeight(float height)
Sets the height of the rectangle.
|
Rect |
Rect.setHeight(processing.core.PVector center,
float height)
Sets the height of the rectangle.
|
Rect |
Rect.setLocation(float x,
float y) |
Rect |
Rect.setRotation(float angle) |
Rect |
Rect.setRotation(processing.core.PVector rotationCenter,
float angle) |
Rect |
Rect.setWidth(float width)
Sets the width of the rectangle.
|
Rect |
Rect.setWidth(processing.core.PVector center,
float width)
Sets the width of the rectangle.
|
Rect |
Rect.setX(float x) |
Rect |
Rect.setY(float y) |
Rect |
Rect.translate(float x,
float y) |