uk.ac.starlink.ttools.plot2.layer
Interface Outliner.ShapePainter

Enclosing interface:
Outliner

public static interface Outliner.ShapePainter

Interface to define the actual shape drawing. It contains a single method, paintPoint, which is called once for each point.


Method Summary
 void paintPoint(TupleSequence tseq, Color color, Paper paper)
          Paints a point given the current state.
 

Method Detail

paintPoint

void paintPoint(TupleSequence tseq,
                Color color,
                Paper paper)
Paints a point given the current state. If the supplied color is non-null, then this painter must take steps to colour its painting. Otherwise, it should use the defaults for the graphics context on which it's painting.

Parameters:
tseq - tuple sequence positioned at the row of interest
color - colour, or null for default
paper - graphics destination


Copyright © 2015 Central Laboratory of the Research Councils. All Rights Reserved.