Package arc.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
Modifier and TypeMethodDescriptionpack
(PixmapPacker packer, String name, Rect rect) Returns the page the rectangle should be placed in and modifies the specified rectangle position.void
sort
(Seq<PixmapRegion> images)
-
Method Details
-
sort
-
pack
Returns the page the rectangle should be placed in and modifies the specified rectangle position.
-