APIdia Launch Partner
Top Fields Constructors Methods
com.badlogic.gdx.tools.texturepacker

public Class GridPacker

extends Object
implements Packer
Class Inheritance
All Implemented Interfaces
com.badlogic.gdx.tools.texturepacker.TexturePacker.Packer
Imports
com.badlogic.gdx.tools.texturepacker.TexturePacker.Packer, .TexturePacker.Page, .TexturePacker.ProgressListener, .TexturePacker.Rect, .TexturePacker.Settings, com.badlogic.gdx.utils.Array

Author
Nathan Sweet

Field Summary

Modifier and TypeField and Description
private final TexturePacker.Settings

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Array<TexturePacker.Page>
public Array<TexturePacker.Page>
private TexturePacker.Page
packPage(Array<TexturePacker.Rect> inputRects, int cellWidth, int cellHeight, int maxWidth, int maxHeight)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

settingsback to summary
private final TexturePacker.Settings settings

Constructor Detail

GridPackerback to summary
public GridPacker(TexturePacker.Settings settings)

Method Detail

packback to summary
public Array<TexturePacker.Page> pack(Array<TexturePacker.Rect> inputRects)

Implements com.badlogic.gdx.tools.texturepacker.TexturePacker.Packer.pack.

packback to summary
public Array<TexturePacker.Page> pack(TexturePacker.ProgressListener progress, Array<TexturePacker.Rect> inputRects)

Implements com.badlogic.gdx.tools.texturepacker.TexturePacker.Packer.pack.

packPageback to summary
private TexturePacker.Page packPage(Array<TexturePacker.Rect> inputRects, int cellWidth, int cellHeight, int maxWidth, int maxHeight)