net.sf.paperclips.decorator
public class BackgroundDecorator extends java.lang.Object implements PrintDecorator
Constructor and Description |
---|
BackgroundDecorator(org.eclipse.swt.graphics.RGB background)
Constructs a BackgroundDecorator with the given background.
|
public BackgroundDecorator(org.eclipse.swt.graphics.RGB background)
background
- the background color.public Print decorate(Print target)
PrintDecorator
decorate
in interface PrintDecorator
target
- the print to wrap with a decoration.