Interface ColorSetting
- All Superinterfaces:
GuiSetting
A choice of one of the user's colors, with opacity.
-
Method Summary
Methods inherited from interface GuiSetting
children, depth, description, hasVisibleChildren, id, isExpanded, isShown, isVisible, label, markDescriptionSeen, module, option, page, parent, setExpanded
-
Method Details
-
paint
GuiPaint paint()- Returns:
- The chosen color at full opacity
-
colorName
String colorName()- Returns:
- Name of the chosen color as the GUI shows it
-
isDefault
boolean isDefault()- Returns:
- Whether the setting uses its default color rather than one the user picked
-
fillOpacity
float fillOpacity() -
outlineOpacity
float outlineOpacity() -
singleOpacity
boolean singleOpacity()- Returns:
- Whether fill and outline share one opacity
-
editor
GuiEditor editor()- Returns:
- The color choice editor
-