Search
Shape.Draw Method (IGraphics, Brush, Pen, Boolean)
See Also
 





Draws this shape on the specified IGraphics surface.

Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

public void Draw (
    IGraphics drawingContext,
    Brush brush,
    Pen pen,
    bool shadow
)

Visual Basic  Copy Code

Public Sub Draw( _
    drawingContext As IGraphics, _
    brush As Brush, _
    pen As Pen, _
    shadow As Boolean _
)

 Parameters

drawingContext

The IGraphics to draw the shape on.

brush

A Brush used to fill the shape.

pen

A Pen used to draw the shape outline.

shadow

When shadow is true the brush and pen parameters have higher priority over shape's brush and pen.

 See Also