Uses of Class
de.vatrasoft.vatralib.model.Rectangle
-
Packages that use Rectangle Package Description de.vatrasoft.vatralib.gfx Classes related to graphics operations (i.e. manipulating the screen) and input handling.de.vatrasoft.vatralib.model Data model classes that can be used (directly or through inheritance) to construct game worlds. -
-
Uses of Rectangle in de.vatrasoft.vatralib.gfx
Methods in de.vatrasoft.vatralib.gfx with parameters of type Rectangle Modifier and Type Method Description voidGfxBinding. drawImageSection(long id, java.lang.String filepath, Rectangle imageSection, int x, int y, int z, int opacity, boolean flipX, boolean flipY)Draws the pixels of the given rectangular section of the given image file onto the screen (at the specified position within the active window). -
Uses of Rectangle in de.vatrasoft.vatralib.model
Methods in de.vatrasoft.vatralib.model that return Rectangle Modifier and Type Method Description RectangleRectangle. addCoordinates(int xOffset, int yOffset)Returns a newRectanglethat has the same dimensions as this rectangle, but is translated by the specified offsets.Methods in de.vatrasoft.vatralib.model with parameters of type Rectangle Modifier and Type Method Description booleanRectangle. contains(Rectangle other)Returnstrueif the givenRectangleis fully within thisRectangle.booleanRectangle. overlaps(Rectangle other)Returnstrueif thisRectangleand the givenRectangleoverlap.
-