public class Icon
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Icon.Factory
Factory class used to create an
Icon instance. |
Constructor and Description |
---|
Icon(java.lang.String name,
int width,
int height,
double scale,
byte[] data,
boolean isAnimated)
Constructor for drawables.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
getData()
Get icon image as byte array.
|
int |
getHeight()
Get icon image height.
|
double |
getScale()
Get icon scale.
|
int |
getWidth()
Get icon image width.
|