org.tigris.gef.presentation
Interface FigPainter


public interface FigPainter


Method Summary
 void paint(java.awt.Graphics g, Fig f)
          Paint Fig f into Graphics g, allowing the figure to be modified according to the current context.
 

Method Detail

paint

void paint(java.awt.Graphics g,
           Fig f)
Paint Fig f into Graphics g, allowing the figure to be modified according to the current context. This method usually backups and modifies attributes of Fig f, paints the modified figure with f.paint(g), and restores the original attribute settings.

Parameters:
g - the Graphics used for painting
f - the Figure to be painted