public static class PixmapPacker.SkylineStrategy extends Object implements PixmapPacker.PackStrategy
Constructor and Description |
---|
SkylineStrategy() |
Modifier and Type | Method and Description |
---|---|
PixmapPacker.Page |
pack(PixmapPacker packer,
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.PackStrategy
public PixmapPacker.Page pack(PixmapPacker packer, String name, Rectangle rect)
PixmapPacker.PackStrategy
pack
in interface PixmapPacker.PackStrategy
Copyright © 2016. All rights reserved.