java.lang.Object
org.strassburger.colorlab4j.gradients.Gradient<RGBColor>
org.strassburger.colorlab4j.gradients.spaces.RGBGradient

public class RGBGradient extends Gradient<RGBColor>
  • Constructor Details

  • Method Details

    • getColors

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