com.sun.lwuit
Interface Painter
- All Known Implementing Classes:
- BackgroundPainter, PainterChain, Timeline
public interface Painter
Painter can be used to draw on components backgrounds.
The use of such painter allows reuse of a background painters for various
components.
Note in order to view the painter drawing, component need to have some level
of transparency.
paint
void paint(Graphics g,
Rectangle rect)
- Draws inside the given rectangle clipping area.
- Parameters:
g
- the Graphics
objectrect
- the given rectangle cliping area