Package toxi.color.theory
Class SplitComplementaryStrategy
java.lang.Object
toxi.color.theory.SplitComplementaryStrategy
- All Implemented Interfaces:
ColorTheoryStrategy
Implements the split-complementary color scheme to create 2 compatible colors for the
given one.
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
SplitComplementaryStrategy
public SplitComplementaryStrategy()
-
-
Method Details
-
createListFromColor
Description copied from interface:ColorTheoryStrategy
Creates a newColorList
of colors for the supplied source color based on the strategy. The number of colors returned is unspecified and depends on the strategy.- Specified by:
createListFromColor
in interfaceColorTheoryStrategy
- Parameters:
src
- source color- Returns:
- list of matching colors created by the strategy.
-
getName
Description copied from interface:ColorTheoryStrategy
Returns the unique name of the strategy.- Specified by:
getName
in interfaceColorTheoryStrategy
- Returns:
- name
-
toString
-