Package com.xebisco.yield
Class Colors
java.lang.Object
com.xebisco.yield.Colors
A utility class for defining and generating various color constants.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Colorstatic final Colorstatic final Colorstatic final Colorstatic final Colorstatic final Colorstatic final Colorstatic final Colorstatic final Colorstatic final Colorstatic final Colorstatic final Colorstatic final Colorstatic final Colorstatic final Colorstatic final Color -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
BLACK
-
WHITE
-
RED
-
GREEN
-
DARK_BLUE
-
LIGHT_BLUE
-
MAGENTA
-
YELLOW
-
ORANGE
-
PURPLE
-
YELLOW_GREEN
-
MEDIUM_BLUE
-
DARK_YELLOW
-
AQUA
-
DARK_PURPLE
-
GRAY
-
-
Constructor Details
-
Colors
public Colors()
-
-
Method Details
-
random
Generates a random color using the provided random number generator.- Parameters:
random- the random number generator to use- Returns:
- a new random color
-
random
Generates a random color using the global random number generator.- Returns:
- a new random color
-