Constructor and Description |
---|
IconFlipped(Icon par1Icon,
boolean par2,
boolean par3) |
Modifier and Type | Method and Description |
---|---|
String |
getIconName() |
float |
getInterpolatedU(double par1)
Gets a U coordinate on the icon.
|
float |
getInterpolatedV(double par1)
Gets a V coordinate on the icon.
|
float |
getMaxU()
Returns the maximum U coordinate to use when rendering with this icon.
|
float |
getMaxV()
Returns the maximum V coordinate to use when rendering with this icon.
|
float |
getMinU()
Returns the minimum U coordinate to use when rendering with this icon.
|
float |
getMinV()
Returns the minimum V coordinate to use when rendering with this icon.
|
int |
getOriginX()
Returns the X position of this icon on its texture sheet, in pixels.
|
int |
getOriginY()
Returns the Y position of this icon on its texture sheet, in pixels.
|
int |
getSheetHeight()
Returns the height of the texture sheet this icon is on, in pixels.
|
int |
getSheetWidth()
Returns the width of the texture sheet this icon is on, in pixels.
|
public IconFlipped(Icon par1Icon, boolean par2, boolean par3)
public int getOriginX()
getOriginX
in interface Icon
public int getOriginY()
getOriginY
in interface Icon
public float getMinU()
public float getMaxU()
public float getInterpolatedU(double par1)
getInterpolatedU
in interface Icon
public float getMinV()
public float getMaxV()
public float getInterpolatedV(double par1)
getInterpolatedV
in interface Icon
public String getIconName()
getIconName
in interface Icon
public int getSheetWidth()
getSheetWidth
in interface Icon
public int getSheetHeight()
getSheetHeight
in interface Icon