Package com.nomagic.magicdraw.ui
Class DiagramSurfacePainter
- java.lang.Object
-
- com.nomagic.magicdraw.ui.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.
-
-
Constructor Summary
Constructors Constructor Description DiagramSurfacePainter()
-
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
-
-
-
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
-
-