public class RectPacker
extends java.lang.Object
Constructor and Description |
---|
RectPacker(int maxWidth,
boolean forcePO2) |
Modifier and Type | Method and Description |
---|---|
int |
getHeight() |
java.util.TreeSet<Point> |
getHotPoints() |
Rect |
getRect(int index) |
int |
getWidth() |
boolean |
isQuickMode() |
boolean |
isRotationEnabled() |
Rect |
occupy(int rectWidth,
int rectHeight) |
void |
reset() |
void |
setQuickMode(boolean quickMode) |
void |
setRotationEnabled(boolean rotationEnabled) |
public boolean isRotationEnabled()
public void setRotationEnabled(boolean rotationEnabled)
public boolean isQuickMode()
public void setQuickMode(boolean quickMode)
public Rect occupy(int rectWidth, int rectHeight)
public void reset()
public Rect getRect(int index)
public int getWidth()
public int getHeight()
public java.util.TreeSet<Point> getHotPoints()