Package com.badlogic.gdx.graphics.g2d
Interface PixmapPacker.PackStrategy
-
- All Known Implementing Classes:
PixmapPacker.GuillotineStrategy,PixmapPacker.SkylineStrategy
- Enclosing class:
- PixmapPacker
public static interface PixmapPacker.PackStrategyChoose the page and location for each rectangle.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PixmapPacker.Pagepack(PixmapPacker packer, java.lang.String name, Rectangle rect)Returns the page the rectangle should be placed in and modifies the specified rectangle position.voidsort(Array<Pixmap> images)
-
-
-
Method Detail
-
pack
PixmapPacker.Page pack(PixmapPacker packer, java.lang.String name, Rectangle rect)
Returns the page the rectangle should be placed in and modifies the specified rectangle position.
-
-