ini.trakem2.display.graphics
Interface GraphicsSource

All Known Implementing Classes:
DefaultGraphicsSource, GroupingMode.GroupedGraphicsSource, TestGraphicsSource

public interface GraphicsSource


Method Summary
 java.util.List<? extends Paintable> asPaintable(java.util.List<? extends Paintable> ds)
          Takes as list of Paintable and returns the same or another list with perhaps a different number of Paintable objects, or some replaced by new Paintable instances.
 void paintOnTop(java.awt.Graphics2D g, Display display, java.awt.Rectangle srcRect, double magnification)
          The canvas will call this method after painting everything else.
 

Method Detail

asPaintable

java.util.List<? extends Paintable> asPaintable(java.util.List<? extends Paintable> ds)
Takes as list of Paintable and returns the same or another list with perhaps a different number of Paintable objects, or some replaced by new Paintable instances.


paintOnTop

void paintOnTop(java.awt.Graphics2D g,
                Display display,
                java.awt.Rectangle srcRect,
                double magnification)
The canvas will call this method after painting everything else.