public interface ShapePainter
paintPoint
,
which is called once for each point.Modifier and Type | Method and Description |
---|---|
void |
paintPoint(TupleSequence tseq,
java.awt.Color color,
Paper paper)
Paints a point given the current state.
|
void paintPoint(TupleSequence tseq, java.awt.Color color, Paper paper)
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.
Note, iteration over the supplied tuple sequence is done
outside of this method, this method should only examine the
values as the current position, not call its next
method.
tseq
- tuple sequence positioned at the row of interestcolor
- colour, or null for defaultpaper
- graphics destinationCopyright © 2017 Central Laboratory of the Research Councils. All Rights Reserved.