Class Prepend


public class Prepend extends ColorSchemeUnary
Prepends a specific color to the list created by another ColorScheme.
Author:
Owen Feehan
  • Constructor Details

    • Prepend

      public Prepend()
  • Method Details

    • transform

      protected ColorList transform(ColorList source)
      Description copied from class: ColorSchemeUnary
      Transform an existing ColorList.

      Note that the incoming ColorList may be modified, and can no longer be used in its original form after this method call.

      Specified by:
      transform in class ColorSchemeUnary
      Parameters:
      source - the incoming ColorList (which may be consumed and modified).
      Returns:
      the transformed (outgoing) ColorList.
    • getPrependColor

      public RGBColorBean getPrependColor()
      The color to prepend.
    • setPrependColor

      public void setPrependColor(RGBColorBean prependColor)
      The color to prepend.