Package icyllis.arc3d.core
Class RectanglePacker.Power2Line
java.lang.Object
icyllis.arc3d.core.RectanglePacker
icyllis.arc3d.core.RectanglePacker.Power2Line
- Enclosing class:
RectanglePacker
-
Nested Class Summary
Nested classes/interfaces inherited from class icyllis.arc3d.core.RectanglePacker
RectanglePacker.BinaryTree, RectanglePacker.Horizon, RectanglePacker.HorizonOld, RectanglePacker.Power2Line, RectanglePacker.Skyline
-
Field Summary
Fields inherited from class icyllis.arc3d.core.RectanglePacker
ALGORITHM_BINARY_TREE, ALGORITHM_HORIZON, ALGORITHM_HORIZON_OLD, ALGORITHM_POWER2_LINE, ALGORITHM_SKYLINE, ALGORITHM_SKYLINE_NEW, mArea, mHeight, mWidth
-
Constructor Summary
-
Method Summary
Methods inherited from class icyllis.arc3d.core.RectanglePacker
free, getCoverage, getHeight, getWidth, make, make
-
Constructor Details
-
Power2Line
public Power2Line(int width, int height)
-
-
Method Details
-
clear
public void clear()Description copied from class:RectanglePacker
Clears all the tracked data.- Specified by:
clear
in classRectanglePacker
-
addRect
Description copied from class:RectanglePacker
Decides upon an (x, y) position for the given rectangle (leaving its width and height unchanged).- Specified by:
addRect
in classRectanglePacker
- Returns:
- true on success; false on failure
-