public static class SpriteIndex.IconInfo extends Object
{
"width": 32,
"height": 32,
"x": 0,
"y": 0,
"pixelRatio": 1
}
Constructor and Description |
---|
IconInfo(String iconName,
JSONObject json) |
Modifier and Type | Method and Description |
---|---|
int |
getHeight() |
int |
getPixelRatio() |
int |
getWidth() |
int |
getX() |
int |
getY() |
public IconInfo(String iconName, JSONObject json)
iconName
- The name of this sprite icon (used for error messages)json
- The sprite index entry for this icon, as a JSONObject
Copyright © 1996–2022 Geotools. All rights reserved.