Interface Icon
- All Known Implementing Classes:
ItemIcon
,TextureIcon
public interface Icon
A square icon for a widget such as a button.
- Since:
- 2.2.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
paint
(DrawContext context, int x, int y, int size) Paints this icon.
-
Method Details
-
paint
Paints this icon.- Parameters:
context
- the draw contextx
- the X coordinatey
- the Y coordinatesize
- the size of this icon in pixels (size N means a N*N square)
-