| com.jeta.forms.gui.effects.Painter
All known Subclasses: com.jeta.forms.gui.effects.TexturePainter, com.jeta.forms.gui.effects.SolidPainter, com.jeta.forms.gui.effects.RadialGradientPainter, com.jeta.forms.gui.effects.ImagePainter, com.jeta.forms.gui.effects.LinearGradientPainter,
Painter | public interface Painter (Code) | | This interface is used to define a method of painting a background or pattern
on a part of a canvas or component. Types of Painters include solid fills,
gradients, and textures.
author: Jeff Tassin |
Method Summary | |
public void | paint(Component c, Graphics g, Rectangle rect) Paints an effect on the given graphics context.
Parameters: g - the graphics context Parameters: rect - the rectangle that defines the region to paint. |
paint | public void paint(Component c, Graphics g, Rectangle rect)(Code) | | Paints an effect on the given graphics context.
Parameters: g - the graphics context Parameters: rect - the rectangle that defines the region to paint. Note, thatthis is different than the clipping rectangle. |
|
|