public static class PixmapPacker.GuillotineStrategy extends java.lang.Object implements PixmapPacker.PackStrategy
| Constructor and Description |
|---|
GuillotineStrategy() |
| Modifier and Type | Method and 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> pixmaps) |
public void sort(Array<Pixmap> pixmaps)
sort in interface PixmapPacker.PackStrategypublic PixmapPacker.Page pack(PixmapPacker packer, java.lang.String name, Rectangle rect)
PixmapPacker.PackStrategypack in interface PixmapPacker.PackStrategy