Search
DiagramItem.Draw Method
See Also
 






Draws the item on the specified IGraphics surface.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

public abstract void Draw (
    IGraphics graphics,
    RenderOptions options
)

Visual Basic  Copy Code

Public MustOverride Sub Draw( _
    graphics As IGraphics, _
    options As RenderOptions _
)

 Parameters

graphics

The IGraphics surface to draw the item on.

options

Provides options for the drawing operation.

 Remarks

MindFusion.Diagramming for .NET MAUI 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.

 See Also