Interface ShapePainter
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Interface to define the actual shape drawing done by an Outliner.
It contains a single method,
paintPoint
,
which is called once for each point.- Since:
- 6 Nov 2015
- Author:
- Mark Taylor
-
Method Summary
Modifier and TypeMethodDescriptionvoid
paintPoint
(Tuple tuple, Color color, Paper paper) Paints a point given the current state.
-
Method Details
-
paintPoint
Paints a point given the current state. If the suppliedcolor
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:
tuple
- tuplecolor
- colour, or null for defaultpaper
- graphics destination
-