Interface Icon

All Known Implementing Classes:
ArcaneVesselXPTexture, BorderedTexture, FireTexture, IconFlipped, StokedFireTexture, TextureAtlasSprite, TextureClock, TextureCompass

public interface Icon
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns the height of the icon, in pixels.
     
    int
    Returns the width of the icon, in pixels.
    float
    getInterpolatedU(double var1)
    Gets a U coordinate on the icon. 0 returns uMin and 16 returns uMax.
    float
    getInterpolatedV(double var1)
    Gets a V coordinate on the icon. 0 returns vMin and 16 returns vMax.
    float
    Returns the maximum U coordinate to use when rendering with this icon.
    float
    Returns the maximum V coordinate to use when rendering with this icon.
    float
    Returns the minimum U coordinate to use when rendering with this icon.
    float
    Returns the minimum V coordinate to use when rendering with this icon.
    default int
     
    default int
     
  • Method Details

    • getIconWidth

      int getIconWidth()
      Returns the width of the icon, in pixels.
    • getIconHeight

      int getIconHeight()
      Returns the height of the icon, in pixels.
    • getMinU

      float getMinU()
      Returns the minimum U coordinate to use when rendering with this icon.
    • getMaxU

      float getMaxU()
      Returns the maximum U coordinate to use when rendering with this icon.
    • getInterpolatedU

      float getInterpolatedU(double var1)
      Gets a U coordinate on the icon. 0 returns uMin and 16 returns uMax. Other arguments return in-between values.
    • getMinV

      float getMinV()
      Returns the minimum V coordinate to use when rendering with this icon.
    • getMaxV

      float getMaxV()
      Returns the maximum V coordinate to use when rendering with this icon.
    • getInterpolatedV

      float getInterpolatedV(double var1)
      Gets a V coordinate on the icon. 0 returns vMin and 16 returns vMax. Other arguments return in-between values.
    • getIconName

      String getIconName()
    • getOriginX

      default int getOriginX()
    • getOriginY

      default int getOriginY()