public interface IColorDecorator extends IDecorator
IDecorator
.
Note that modifying background and foreground colors as it is possible with
this decorator will have no effect if the shape is invisible, the complete
shape is hidden underneath other (possibly contained) shapes or the shape
uses gradients.Modifier and Type | Method and Description |
---|---|
IColorConstant |
getBackgroundColor()
Returns the color that will be used for painting the background of the
shape to decorate.
|
IColorConstant |
getForegroundColor()
Returns the color that will be used for painting the foreground of the
shape to decorate.
|
getMessage, setMessage
IColorConstant getForegroundColor()
null
) the
original foreground color of the shape is kept.IColorConstant
defining the colorIColorConstant getBackgroundColor()
null
) the
original background color of the shape is kept.IColorConstant
defining the color