Package org.polyfrost.polyui.color
Class Colors.Palette
-
- All Implemented Interfaces:
public class Colors.PaletteA color palette represents a set of four colors in PolyUI representing the four key states that a component can have.
- Since:
0.20.0
-
-
Constructor Summary
Constructors Constructor Description Colors.Palette(PolyColor normal, PolyColor hovered, PolyColor pressed, PolyColor disabled)
-
Method Summary
Modifier and Type Method Description PolyColorgetNormal()PolyColorgetHovered()PolyColorgetPressed()PolyColorgetDisabled()final PolyColorget(Byte state)-
-
Method Detail
-
getHovered
PolyColor getHovered()
-
getPressed
PolyColor getPressed()
-
getDisabled
PolyColor getDisabled()
-
-
-
-