Class DiagramSurfacePainter


  • @OpenApiAll
    public abstract class DiagramSurfacePainter
    extends java.lang.Object
    This painter can do some additional painting for a diagram canvas. This class also provides api for registering painters for all diagrams.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      abstract void paint​(java.awt.Graphics g, DiagramPresentationElement diagram)
      Do some painting on given canvas with given diagram
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DiagramSurfacePainter

        public DiagramSurfacePainter()
    • Method Detail

      • paint

        public abstract void paint​(java.awt.Graphics g,
                                   DiagramPresentationElement diagram)
        Do some painting on given canvas with given diagram
        Parameters:
        g - the graphics.
        diagram - the painted diagram