Class DiagramSurfacePainter

java.lang.Object
com.nomagic.magicdraw.ui.DiagramSurfacePainter

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

    • DiagramSurfacePainter

      public DiagramSurfacePainter()
  • Method Details

    • paint

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