Package arc.packer

Class ImageProcessor

java.lang.Object
arc.packer.ImageProcessor

public class ImageProcessor extends Object
  • Constructor Details

  • Method Details

    • addImage

      public void addImage(File file, String rootPath)
      Parameters:
      rootPath - Used to strip the root directory prefix from image file names, can be null.
    • addImage

      public TexturePacker.Rect addImage(Pixmap image, String name)
      The image will be kept in-memory during packing.
      See Also:
    • setScale

      public void setScale(float scale)
    • setResampling

      public void setResampling(boolean resampling)
    • getImages

      public Seq<TexturePacker.Rect> getImages()
    • clear

      public void clear()