org.formaria.swing.painter
Class ImagePainter
java.lang.Object
org.formaria.swing.painter.ImagePainter
public class ImagePainter
- extends java.lang.Object
Paints a background with a watermark image
Copyright (c) Formaria Ltd., 2008
License: see license.txt
$Revision: 1.2 $
|
Method Summary |
void |
paint(java.awt.Graphics2D g,
javax.swing.JComponent obj,
int w,
int h)
Paints a background with a watermark image. |
void |
paint(java.awt.Graphics2D g,
java.lang.Object object,
int width,
int height)
|
void |
setBlend(boolean b)
Does nothing |
void |
setImage(java.lang.String imageName)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
currentProject
protected Project currentProject
ImagePainter
public ImagePainter()
paint
public void paint(java.awt.Graphics2D g,
java.lang.Object object,
int width,
int height)
paint
public void paint(java.awt.Graphics2D g,
javax.swing.JComponent obj,
int w,
int h)
- Paints a background with a watermark image.
- Parameters:
obj - The object/component being paintedg - the graphics contextw - the width coordinateh - the height coordinate
Copyright: Copyright (c) Formaria Ltd., 2008
License: see license.txt
$Revision: 1.2 $
setImage
public void setImage(java.lang.String imageName)
setBlend
public void setBlend(boolean b)
- Does nothing