RoundRect Method

Object List Next Object

Defined By:
Drawable

Description:

Draws a rectangle with rounded corners that is defined by the specified bounding rectangle.

Declaration:

Sub RoundRect(ByVal x1 As Single, ByVal y1 As Single, ByVal x2 As Single, ByVal y2 As Single, ByVal x3 As Single, ByVal y3 As Single)


Syntax Description


(x1,y1) Defines the upper-left corner of the bounding rectangle.

(x2,y2) Defines the lower-right corner of the bounding rectangle.

x3 Specifies the width of the ellipse used to draw the rounded corners.

y3 Specifies the height of the ellipse used to draw the rounded corners.

Details:

RoundRect method uses the DrawColor, DrawMode, and DrawStyle properties to draw the shape. It uses the FillStyle and FillColor properties to determine the appearance of the shape's interior.

See Also:

DrawColor, DrawMode, DrawStyle, FillStyle, FillColor properties