public static class Stitcher.Holder extends java.lang.Object implements java.lang.Comparable<Stitcher.Holder>
Modifier and Type | Field and Description |
---|---|
private int |
height |
private int |
mipmapLevelHolder |
private boolean |
rotated |
private float |
scaleFactor |
private TextureAtlasSprite |
sprite |
private int |
width |
Constructor and Description |
---|
Holder(TextureAtlasSprite theTextureIn,
int mipmapLevelHolderIn) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Stitcher.Holder p_compareTo_1_) |
TextureAtlasSprite |
getAtlasSprite() |
int |
getHeight() |
int |
getWidth() |
boolean |
isRotated() |
void |
rotate() |
void |
setNewDimension(int p_94196_1_) |
java.lang.String |
toString() |
private final TextureAtlasSprite sprite
private final int width
private final int height
private final int mipmapLevelHolder
private boolean rotated
private float scaleFactor
public Holder(TextureAtlasSprite theTextureIn, int mipmapLevelHolderIn)
public TextureAtlasSprite getAtlasSprite()
public int getWidth()
public int getHeight()
public void rotate()
public boolean isRotated()
public void setNewDimension(int p_94196_1_)
public java.lang.String toString()
toString
in class java.lang.Object
public int compareTo(Stitcher.Holder p_compareTo_1_)
compareTo
in interface java.lang.Comparable<Stitcher.Holder>