DrawRoundedRectangle Method

See Also     Examples     Applies To

Draws a rounded rectangle into the native GdPicture image.

Syntax

object.DrawRoundedRectangle (nDstLeft, nDstTop, nWidth, nHeight, nRadius, nPenWidth, nColorARGB, bAntiAlias)

The DrawRoundedRectangle syntax has these parts:

Part Description
object Required. An object expression that evaluates to an object in the Applies To list.
nDstLeft Required. Long. Specifies the x-coordinate of the upper-left corner of the rectangle.
nDstTop Required. Long. Specifies the y-coordinate of the upper-left corner of the rectangle.
nWidth Required. Long. Specifies the width of the rectangle.
nHeight Required. Long. Specifies the height of the rectangle.
nRadius Required. Single. Radius value between 0 and 90.
nPenWidth Required. Long. The width in pixel of the pen used to draw the rectangle.
nColorARGB Optional. Long. Default value is Black. 32-bit Color (ARGB) used to draw the rectangle.
bAntiAlias Optional. Boolean. Default value is False. Set to True to apply the Antialiasing algorithm else False.

Returns

Long. GdPictureStatus

Category

Draw (Lines and Shapes)





© Copyright 2008 GdPicture All rights reserved.
Documentation MAP.