Package tripleplay.ui
Class Icons
java.lang.Object
tripleplay.ui.Icons
Contains icon related utility classes and methods, mostly basic icon factories.
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Icon
image
(TileSource source) Creates an icon using the supplied texture tilesource
.static Icon
Creates an icon that nests and offsets the given icon by the given translation.static Icon
Creates an icon that applies the given scale to the given icon.static Icon
solid
(int color, float size) Creates a solid square icon of the given size.
-
Constructor Details
-
Icons
public Icons()
-
-
Method Details
-
image
Creates an icon using the supplied texture tilesource
. -
scaled
Creates an icon that applies the given scale to the given icon. -
offset
Creates an icon that nests and offsets the given icon by the given translation. -
solid
Creates a solid square icon of the given size.
-