/** * Returns the color of the top portion of shine in control backgrounds. * * @return The color of the top portion of shine in control backgrounds. */ public static Color getTopShineColor(SubstanceColorScheme scheme) { return getBottomFillColor(scheme); }
/** * Computes the color of the bottom portion of the fill. Override to provide * different visual. * * @param fillScheme * The fill scheme. * @return The color of the bottom portion of the fill. */ public Color getBottomFillColor(SubstanceColorScheme fillScheme) { return SubstanceColorUtilities.getBottomFillColor(fillScheme); }
/** * Computes the color of the bottom portion of the fill. Override to provide * different visual. * * @param fillScheme * The fill scheme. * @return The color of the bottom portion of the fill. */ public Color getBottomFillColor(SubstanceColorScheme fillScheme) { return SubstanceColorUtilities.getBottomFillColor(fillScheme); }
/** * Returns the color of the top portion of shine in control backgrounds. * * @param scheme1 * The first color scheme. * @param scheme2 * The second color scheme. * @param cycleCoef * Cycle position. Is used for rollover and pulsation effects. * Must be in 0.0 .. 1.0 range. * @param useCyclePosAsInterpolation * Indicates the algorithm to use for computing various colors. * If <code>true</code>, the <code>cyclePos</code> is used to * interpolate colors between different color components of both * color schemes. If <code>false</code>, the * <code>cyclePos</code> is used to interpolate colors between * different color components of the first color scheme. * @return The color of the top portion of shine in control backgrounds. */ public static Color getTopShineColor(SubstanceColorScheme scheme) { return getBottomFillColor(scheme); }