org.grinvin.gui
Class WatermarkPainter
java.lang.Objectorg.grinvin.gui.WatermarkPainter
public class WatermarkPainter
extends java.lang.Object
Paint a 'watermark' onto a component consisting of repeated text slanted at an
angle of 45 degrees
WatermarkPainter(int fontSize, String watermark, Color watermarkColor)- Create a watermark painter with the given specs.
|
void | paint(Component component, Graphics g)- Paint the watermark onto the background of the given component.
|
WatermarkPainter
public WatermarkPainter(int fontSize,
String watermark,
Color watermarkColor) Create a watermark painter with the given specs.
paint
public void paint(Component component,
Graphics g) Paint the watermark onto the background of the given component.