Search
IGraphics.DrawRectangle Method (Pen, Double, Double, Double, Double)
See Also
 






Draws a rectangle specified by a coordinate pair, a width, and a height.

Namespace: MindFusion.Drawing
Assembly: MindFusion.Charting

 Syntax

C#  Copy Code

void DrawRectangle (
    Pen pen,
    double x,
    double y,
    double width,
    double height
)

Visual Basic  Copy Code

Sub DrawRectangle( _
    pen As Pen, _
    x As Double, _
    y As Double, _
    width As Double, _
    height As Double _
)

 Parameters

pen

A Pen object that determines the color, width, and style of the rectangle.

x

The x-coordinate of the upper-left corner of the rectangle to draw.

y

The y-coordinate of the upper-left corner of the rectangle to draw.

width

The width of the rectangle to draw.

height

The height of the rectangle to draw.

 See Also