| Modifier and Type | Method and Description |
|---|---|
Rectangle |
PolygonSprite.getBoundingRectangle()
Returns the bounding axis aligned
Rectangle that bounds this sprite. |
Rectangle |
Sprite.getBoundingRectangle()
Returns the bounding axis aligned
Rectangle that bounds this sprite. |
Rectangle |
PixmapPacker.getRect(java.lang.String name) |
Rectangle |
PixmapPacker.pack(java.lang.String name,
Pixmap image)
Inserts the given
Pixmap. |
| Modifier and Type | Method and Description |
|---|---|
Rectangle |
RectangleMapObject.getRectangle() |
| Modifier and Type | Field and Description |
|---|---|
protected Rectangle |
BatchTiledMapRenderer.viewBounds |
protected Rectangle |
OrthogonalTiledMapRenderer2.viewBounds |
| Modifier and Type | Method and Description |
|---|---|
Rectangle |
BatchTiledMapRenderer.getViewBounds() |
| Modifier and Type | Field and Description |
|---|---|
static Rectangle |
Rectangle.tmp
Static temporary rectangle.
|
static Rectangle |
Rectangle.tmp2
Static temporary rectangle.
|
| Modifier and Type | Method and Description |
|---|---|
Rectangle |
Polygon.getBoundingRectangle()
Returns an axis-aligned bounding box of this polygon.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
Rectangle.contains(Rectangle rectangle) |
static boolean |
Intersector.intersectRectangles(Rectangle a,
Rectangle b)
Returns whether the two rectangles intersect
|
void |
Rectangle.merge(Rectangle rect)
Merges this rectangle with the other rectangle.
|
static boolean |
Intersector.overlapCircleRectangle(Circle c,
Rectangle r) |
static boolean |
Intersector.overlapRectangles(Rectangle r1,
Rectangle r2) |
boolean |
Rectangle.overlaps(Rectangle rectangle) |
void |
Rectangle.set(Rectangle rect)
Sets the values of the given rectangle to this rectangle.
|
| Constructor and Description |
|---|
Rectangle(Rectangle rect)
Constructs a rectangle based on the given rectangle
|
| Modifier and Type | Method and Description |
|---|---|
void |
Group.setCullingArea(Rectangle cullingArea)
Children completely outside of this rectangle will not be drawn.
|
| Modifier and Type | Method and Description |
|---|---|
void |
List.setCullingArea(Rectangle cullingArea) |
| Modifier and Type | Method and Description |
|---|---|
static Rectangle |
ScissorStack.getViewport() |
static Rectangle |
ScissorStack.popScissors()
Pops the current scissor rectangle from the stack and sets the new scissor area to the new top of stack rectangle.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
ScissorStack.calculateScissors(Camera camera,
Matrix4 batchTransform,
Rectangle area,
Rectangle scissor)
|
static boolean |
ScissorStack.pushScissors(Rectangle scissor)
Pushes a new scissor
Rectangle onto the stack, merging it with the current top of the stack. |
void |
Cullable.setCullingArea(Rectangle cullingArea) |