public interface GIconData
Modifier and Type | Method and Description |
---|---|
Paint |
getBackgroundPaint(int x,
int y,
int size)
Gets a paint to be used for the icon background.
|
Paint |
getBorderPaint(int x,
int y,
int size)
Gets a paint to be used for the border when it is not outlined in black.
|
String |
getKey()
Gets a key to be used for caching icons.
|
Paint |
getOutlinedBorderPaint(int x,
int y,
int size)
Gets a paint to be used for the border when it is outlined in black.
|
String |
getText()
Gets the text to be displayed beneath the "G" on the icon.
|
Paint getBackgroundPaint(int x, int y, int size)
x
- the x position of the left of the icon.y
- the y position of the top of the icon.size
- the icon width and height.Paint getBorderPaint(int x, int y, int size)
x
- the x position of the left of the icon.y
- the y position of the top of the icon.size
- the icon width and height.String getKey()
Paint getOutlinedBorderPaint(int x, int y, int size)
x
- the x position of the left of the icon.y
- the y position of the top of the icon.size
- the icon width and height.String getText()