| java.lang.Object org.jvnet.substance.theme.transform.ShiftTransform
ShiftTransform | public class ShiftTransform implements ThemeTransform(Code) | | Theme transformation that shifts the original theme.
author: Kirill Grouchnikov |
Constructor Summary | |
public | ShiftTransform(Color backgroundShiftColor, double backgroundShiftFactor, Color foregroundShiftColor, double foregroundShiftFactor) Creates a new transformation.
Parameters: backgroundShiftColor - Shift color for background colors. |
ShiftTransform | public ShiftTransform(Color backgroundShiftColor, double backgroundShiftFactor, Color foregroundShiftColor, double foregroundShiftFactor)(Code) | | Creates a new transformation.
Parameters: backgroundShiftColor - Shift color for background colors. Should have full opacity. Parameters: backgroundShiftFactor - Value in 0.0...1.0 range. Larger values shift more towards thespecified color. Parameters: foregroundShiftColor - Shift color for foreground colors. Should have full opacity. Parameters: foregroundShiftFactor - Value in 0.0...1.0 range. Larger values shift more towards thespecified color. |
|
|