|
libgdx API | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Rectangle | |
---|---|
com.badlogic.gdx.graphics.g2d | |
com.badlogic.gdx.math | |
com.badlogic.gdx.scenes.scene2d | |
com.badlogic.gdx.scenes.scene2d.ui | |
com.badlogic.gdx.scenes.scene2d.utils |
Uses of Rectangle in com.badlogic.gdx.graphics.g2d |
---|
Methods in com.badlogic.gdx.graphics.g2d that return Rectangle | |
---|---|
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 . |
Uses of Rectangle in com.badlogic.gdx.math |
---|
Fields in com.badlogic.gdx.math declared as Rectangle | |
---|---|
static Rectangle |
Rectangle.tmp
Static temporary rectangle. |
static Rectangle |
Rectangle.tmp2
Static temporary rectangle. |
Methods in com.badlogic.gdx.math that return Rectangle | |
---|---|
Rectangle |
Polygon.getBoundingRectangle()
|
Methods in com.badlogic.gdx.math with parameters of type Rectangle | |
---|---|
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. |
Constructors in com.badlogic.gdx.math with parameters of type Rectangle | |
---|---|
Rectangle(Rectangle rect)
Constructs a rectangle based on the given rectangle |
Uses of Rectangle in com.badlogic.gdx.scenes.scene2d |
---|
Methods in com.badlogic.gdx.scenes.scene2d with parameters of type Rectangle | |
---|---|
void |
Group.setCullingArea(Rectangle cullingArea)
Children completely outside of this rectangle will not be drawn. |
Uses of Rectangle in com.badlogic.gdx.scenes.scene2d.ui |
---|
Methods in com.badlogic.gdx.scenes.scene2d.ui with parameters of type Rectangle | |
---|---|
void |
List.setCullingArea(Rectangle cullingArea)
|
Uses of Rectangle in com.badlogic.gdx.scenes.scene2d.utils |
---|
Methods in com.badlogic.gdx.scenes.scene2d.utils that return Rectangle | |
---|---|
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. |
Methods in com.badlogic.gdx.scenes.scene2d.utils with parameters of type Rectangle | |
---|---|
static void |
ScissorStack.calculateScissors(Camera camera,
Matrix4 batchTransform,
Rectangle area,
Rectangle scissor)
Calculates a scissor rectangle in OpenGL ES window coordinates from a Camera , a transformation Matrix4 and
an axis aligned Rectangle . |
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)
|
|
libgdx API | |||||||||
PREV NEXT | FRAMES NO FRAMES |