Class RectanglePacker.Power2Line

java.lang.Object
icyllis.arc3d.core.RectanglePacker
icyllis.arc3d.core.RectanglePacker.Power2Line
Enclosing class:
RectanglePacker

public static final class RectanglePacker.Power2Line extends RectanglePacker
  • 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 class RectanglePacker
    • addRect

      public boolean addRect(Rect2i rect)
      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 class RectanglePacker
      Returns:
      true on success; false on failure