public class ColorMultiplier extends AbstractColorProvider
Constructor and Description |
---|
ColorMultiplier(ColorProvider colorProvider,
double factor)
Constructor.
|
public ColorMultiplier(ColorProvider colorProvider, double factor)
colorProvider
- provides the color which RGB components will be multipliedfactor
- the multiply factorpublic java.awt.Color getColor(java.awt.Component component)
ColorProvider
getColor
in interface ColorProvider
getColor
in class AbstractColorProvider
component
- the componentpublic java.awt.Color getColor()
ColorProvider
getColor
in interface ColorProvider
getColor
in class AbstractColorProvider