Class TetradTheoryStrategy

java.lang.Object
toxi.color.theory.TetradTheoryStrategy
All Implemented Interfaces:
ColorTheoryStrategy

public class TetradTheoryStrategy extends Object implements ColorTheoryStrategy
Implements the tetradic color scheme to create 4 compatible colors for the given one.
  • Field Details

  • Constructor Details

    • TetradTheoryStrategy

      public TetradTheoryStrategy()
    • TetradTheoryStrategy

      public TetradTheoryStrategy(int theta)
      Constructs a new instance with the given color offset angle.
      Parameters:
      theta - hue rotation angle in degrees
  • Method Details