Package de.sciss.gui
Interface TopPainter
-
public interface TopPainterSimple as that: paint something arbitrary on top of a hosting component See the implementing classes for examples.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidpaintOnTop(java.awt.Graphics2D g)Paints something on top of a component's graphics context.
-
-
-
Method Detail
-
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.
-
-