Interface ShapePainter


  • public interface ShapePainter
    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 Detail

      • paintPoint

        void paintPoint​(Tuple tuple,
                        java.awt.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:
        tuple - tuple
        color - colour, or null for default
        paper - graphics destination