public class BackgroundDecorator extends java.lang.Object implements PrintDecorator
| Constructor and Description |
|---|
BackgroundDecorator(RGB background)
Constructs a BackgroundDecorator with the given background.
|
public BackgroundDecorator(RGB background)
background - the background color.public Print decorate(Print target)
PrintDecoratordecorate in interface PrintDecoratortarget - the print to wrap with a decoration.