Package com.nomagic.magicdraw.ui
Class DiagramSurfacePainter
java.lang.Object
com.nomagic.magicdraw.ui.DiagramSurfacePainter
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 -
Method Summary
Modifier and TypeMethodDescriptionabstract voidpaint(Graphics g, DiagramPresentationElement diagram) Do some painting on given canvas with given diagram
-
Constructor Details
-
DiagramSurfacePainter
public DiagramSurfacePainter()
-
-
Method Details
-
paint
Do some painting on given canvas with given diagram- Parameters:
g- the graphics.diagram- the painted diagram
-