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





Draws this shape on the specified IGraphics surface.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

public void Draw (
    IGraphics drawingContext,
    Brush brush,
    Pen pen,
    bool shadow,
    Rect rc,
    double orientation
)

Visual Basic  Copy Code

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

 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.

rc

The bounding rectangle.

orientation

Orientation of the shape.

 See Also