public float getHeightRatio () { return super.getHeight() / region.getRotatedPackedHeight(); }
@Override public float getHeight () { return super.getHeight() / region.getRotatedPackedHeight() * region.originalHeight; }
@Override /** Flips the region, adjusting the offset so the image appears to be flip as if no whitespace has been removed for packing. */ public void flip (boolean x, boolean y) { super.flip(x, y); if (x) offsetX = originalWidth - offsetX - getRotatedPackedWidth(); if (y) offsetY = originalHeight - offsetY - getRotatedPackedHeight(); }
public float getHeightRatio () { return super.getHeight() / region.getRotatedPackedHeight(); }
@Override public float getHeight () { return super.getHeight() / region.getRotatedPackedHeight() * region.originalHeight; }
@Override public float getHeight () { return super.getHeight() / region.getRotatedPackedHeight() * region.originalHeight; }
public float getHeightRatio () { return super.getHeight() / region.getRotatedPackedHeight(); }
@Override /** Flips the region, adjusting the offset so the image appears to be flip as if no whitespace has been removed for packing. */ public void flip (boolean x, boolean y) { super.flip(x, y); if (x) offsetX = originalWidth - offsetX - getRotatedPackedWidth(); if (y) offsetY = originalHeight - offsetY - getRotatedPackedHeight(); }
@Override /** Flips the region, adjusting the offset so the image appears to be flip as if no whitespace has been removed for packing. */ public void flip (boolean x, boolean y) { super.flip(x, y); if (x) offsetX = originalWidth - offsetX - getRotatedPackedWidth(); if (y) offsetY = originalHeight - offsetY - getRotatedPackedHeight(); }