Package org.geotools.mbstyle.sprite
Class SpriteIndex.IconInfo
- Object
-
- IconInfo
-
- Enclosing class:
- SpriteIndex
public static class SpriteIndex.IconInfo extends Object
Wrapper for parsing the properties of an individual sprite index entry (JSONObject) for a single icon. For example:{ "width": 32, "height": 32, "x": 0, "y": 0, "pixelRatio": 1 }
-
-
Constructor Summary
Constructors Constructor Description IconInfo(String iconName, JSONObject json)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getHeight()
int
getPixelRatio()
int
getWidth()
int
getX()
int
getY()
-