Class SpriteIndex.IconInfo

    • Constructor Detail

      • IconInfo

        public IconInfo​(String iconName,
                        JSONObject json)
        Parameters:
        iconName - The name of this sprite icon (used for error messages)
        json - The sprite index entry for this icon, as a JSONObject
    • Method Detail

      • getWidth

        public int getWidth()
      • getHeight

        public int getHeight()
      • getX

        public int getX()
      • getY

        public int getY()
      • getPixelRatio

        public int getPixelRatio()