Package toxi.color.theory
Class MonochromeTheoryStrategy
java.lang.Object
toxi.color.theory.MonochromeTheoryStrategy
- All Implemented Interfaces:
ColorTheoryStrategy
Creates 4 additional shades of the given color, thus creating a monochrome
palette.
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
MonochromeTheoryStrategy
public MonochromeTheoryStrategy()
-
-
Method Details
-
createListFromColor
Description copied from interface:ColorTheoryStrategyCreates a newColorListof colors for the supplied source color based on the strategy. The number of colors returned is unspecified and depends on the strategy.- Specified by:
createListFromColorin interfaceColorTheoryStrategy- Parameters:
src- source color- Returns:
- list of matching colors created by the strategy.
-
getName
Description copied from interface:ColorTheoryStrategyReturns the unique name of the strategy.- Specified by:
getNamein interfaceColorTheoryStrategy- Returns:
- name
-
toString
-