de.sciss.gui
Interface TopPainter
public interface TopPainter
Simple as that: paint something
arbitrary on top of a hosting component
See the implementing classes for examples.
- Version:
- 0.67, 02-Sep-04
- Author:
- Hanns Holger Rutz
Method Summary |
void |
paintOnTop(java.awt.Graphics2D g)
Paints something on top of a component's
graphics context. |
paintOnTop
void paintOnTop(java.awt.Graphics2D g)
- Paints something on top of a component's
graphics context. Components offering
adding and removal of top painters should
state which flags and transforms are initially
set for the context, e.g. if coordinates are
already normalized or not. The top painter
should undo any temporary changes to the graphics
context's affine transform, paint and stroke.
- Parameters:
g
- the graphics context to paint onto.