Search
Shape.Draw Method (IGraphics, Brush, Pen, Boolean, RectangleF, Single)
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,
    RectangleF rc,
    float orientation
)

Visual Basic  Copy Code

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

 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