java.lang.Object
org.pushingpixels.radiance.theming.api.colorscheme.BaseColorScheme
org.pushingpixels.radiance.theming.internal.colorscheme.BlendBiColorScheme
All Implemented Interfaces:
RadianceColorScheme, SchemeBaseColors, SchemeDerivedColors, RadianceTrait

public class BlendBiColorScheme extends BaseColorScheme
Blended color scheme.
  • Field Details

    • mainUltraLightColor

      private Color mainUltraLightColor
      The main ultra-light color.
    • mainExtraLightColor

      private Color mainExtraLightColor
      The main extra-light color.
    • mainLightColor

      private Color mainLightColor
      The main light color.
    • mainMidColor

      private Color mainMidColor
      The main medium color.
    • mainDarkColor

      private Color mainDarkColor
      The main dark color.
    • mainUltraDarkColor

      private Color mainUltraDarkColor
      The main ultra-dark color.
    • foregroundColor

      private Color foregroundColor
      The foreground color.
    • firstScheme

      private RadianceColorScheme firstScheme
      The main original color scheme.
    • secondScheme

      private RadianceColorScheme secondScheme
      The secondary original color scheme.
    • firstSchemeLikeness

      private double firstSchemeLikeness
      Likeness to the first scheme. Values close to 0.0 will create scheme that closely matches the second original scheme. Values close to 1.0 will create scheme that closely matches the second original scheme.
  • Constructor Details

    • BlendBiColorScheme

      public BlendBiColorScheme(RadianceColorScheme firstScheme, RadianceColorScheme secondScheme, double firstSchemeLikeness)
      Creates a new blended color scheme.
      Parameters:
      firstScheme - The first original color scheme.
      secondScheme - The second original color scheme.
      firstSchemeLikeness - Likeness to the first scheme. Values close to 0.0 will create scheme that closely matches the second original scheme. Values close to 1.0 will create scheme that closely matches the second original scheme.
  • Method Details

    • getForegroundColor

      public Color getForegroundColor()
      Description copied from interface: SchemeBaseColors
      Retrieves the foreground color.
      Returns:
      Foreground color.
    • getUltraLightColor

      public Color getUltraLightColor()
      Description copied from interface: SchemeBaseColors
      Retrieves the ultra-light color.
      Returns:
      Ultra-light color.
    • getExtraLightColor

      public Color getExtraLightColor()
      Description copied from interface: SchemeBaseColors
      Retrieves the extra color.
      Returns:
      Extra color.
    • getLightColor

      public Color getLightColor()
      Description copied from interface: SchemeBaseColors
      Retrieves the light color.
      Returns:
      Light color.
    • getMidColor

      public Color getMidColor()
      Description copied from interface: SchemeBaseColors
      Retrieves the medium color.
      Returns:
      Medium color.
    • getDarkColor

      public Color getDarkColor()
      Description copied from interface: SchemeBaseColors
      Retrieves the dark color.
      Returns:
      Dark color.
    • getUltraDarkColor

      public Color getUltraDarkColor()
      Description copied from interface: SchemeBaseColors
      Retrieves the ultra-dark color.
      Returns:
      Ultra-dark color.
    • getFirstSchemeLikeness

      public double getFirstSchemeLikeness()
      Returns the likeness to the first scheme.
      Returns:
      Likeness to the first scheme
    • getFirstScheme

      public RadianceColorScheme getFirstScheme()
      Returns the main original color scheme.
      Returns:
      The main original color scheme.
    • getSecondScheme

      public RadianceColorScheme getSecondScheme()
      Returns the secondary original color scheme.
      Returns:
      The secondary original color scheme.