Package com.badlogic.gdx.graphics.g2d
Interface PixmapPacker.PackStrategy
-
- All Known Implementing Classes:
PixmapPacker.GuillotineStrategy
,PixmapPacker.SkylineStrategy
- Enclosing class:
- PixmapPacker
public static interface PixmapPacker.PackStrategy
Choose the page and location for each rectangle.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.void
sort(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.
-
-