Draws the item on the specified IGraphics surface.
Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming
C# Copy Code |
---|
public abstract void Draw ( |
Visual Basic Copy Code |
---|
Public MustOverride Sub Draw( _ |
MindFusion.Diagramming calls this method to draw a representation of the diagram item onto the specified graphics surface. Implement this method in custom node or link types if you need to provide your own drawing functionality. The method is called when rendering the diagram on screen, or exporting it to PDF or SVG files. The IGraphics methods call the respective GDI+ Graphics methods when drawing on screen, or generate PDF of SVG tags when using PdfExporter and SvgExporter to export diagram files.
MindFusion.Diagramming Developer's Guide | © 2024 MindFusion |