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