java.lang.Object
org.strassburger.colorlab4j.gradients.Gradient<HSLColor>
org.strassburger.colorlab4j.gradients.spaces.HSLGradient

public class HSLGradient extends Gradient<HSLColor>
  • Constructor Details

  • Method Details

    • getColors

      public List<HSLColor> getColors(int steps, boolean includeStartAndEnd)
      Description copied from class: Gradient
      Get the colors of the gradient
      Specified by:
      getColors in class Gradient<HSLColor>
      Parameters:
      steps - The number of steps
      includeStartAndEnd - Whether to include the start and end color
      Returns:
      The colors of the gradient