@FunctionalInterface public interface ShapePainter
paintPoint
,
which is called once for each point.Modifier and Type | Method and Description |
---|---|
void |
paintPoint(Tuple tuple,
Color color,
Paper paper)
Paints a point given the current state.
|
void paintPoint(Tuple tuple, 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.tuple
- tuplecolor
- colour, or null for defaultpaper
- graphics destinationCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.