Package | Description |
---|---|
com.badlogic.gdx.graphics.g2d |
Modifier and Type | Class and Description |
---|---|
static class |
PixmapPacker.GuillotineStrategy
Does bin packing by inserting to the right or below previously packed rectangles.
|
static class |
PixmapPacker.SkylineStrategy
Does bin packing by inserting in rows.
|
Constructor and Description |
---|
PixmapPacker(int pageWidth,
int pageHeight,
Pixmap.Format pageFormat,
int padding,
boolean duplicateBorder,
boolean stripWhitespaceX,
boolean stripWhitespaceY,
PixmapPacker.PackStrategy packStrategy)
Creates a new ImagePacker which will insert all supplied pixmaps into one or more
pageWidth by
pageHeight pixmaps using the specified strategy. |
PixmapPacker(int pageWidth,
int pageHeight,
Pixmap.Format pageFormat,
int padding,
boolean duplicateBorder,
PixmapPacker.PackStrategy packStrategy)
|
Copyright © 2020. All rights reserved.