Uses of Class
com.badlogic.gdx.graphics.g2d.PolygonRegion
-
Packages that use PolygonRegion Package Description com.badlogic.gdx.graphics.g2d -
-
Uses of PolygonRegion in com.badlogic.gdx.graphics.g2d
Methods in com.badlogic.gdx.graphics.g2d that return PolygonRegion Modifier and Type Method Description PolygonRegionPolygonSprite. getRegion()PolygonRegionPolygonRegionLoader. load(AssetManager manager, java.lang.String fileName, FileHandle file, PolygonRegionLoader.PolygonRegionParameters parameter)PolygonRegionPolygonRegionLoader. load(TextureRegion textureRegion, FileHandle file)Loads a PolygonRegion from a PSH (Polygon SHape) file.Methods in com.badlogic.gdx.graphics.g2d with parameters of type PolygonRegion Modifier and Type Method Description voidPolygonBatch. draw(PolygonRegion region, float x, float y)Draws a polygon region with the bottom left corner at x,y having the width and height of the region.voidPolygonBatch. draw(PolygonRegion region, float x, float y, float width, float height)Draws a polygon region with the bottom left corner at x,y and stretching the region to cover the given width and height.voidPolygonBatch. draw(PolygonRegion region, float x, float y, float originX, float originY, float width, float height, float scaleX, float scaleY, float rotation)Draws the polygon region with the bottom left corner at x,y and stretching the region to cover the given width and height.voidPolygonSpriteBatch. draw(PolygonRegion region, float x, float y)voidPolygonSpriteBatch. draw(PolygonRegion region, float x, float y, float width, float height)voidPolygonSpriteBatch. draw(PolygonRegion region, float x, float y, float originX, float originY, float width, float height, float scaleX, float scaleY, float rotation)voidPolygonSprite. setRegion(PolygonRegion region)Constructors in com.badlogic.gdx.graphics.g2d with parameters of type PolygonRegion Constructor Description PolygonSprite(PolygonRegion region)
-