Hide Comments
Hide Comments

TRSGPCanvas.DrawRectSides(TRectF,Single,Single,TRSCorners,Single,TRSSides,TRSCornerType) Method

Comments (0)

Draws the specified sides of a rectangle with customized shapes of corners on the current canvas.

DrawRectSides draws the specified ASides sides of the ARect rectangle with customized shapes of corners, with the current Stroke or with the specified ABrush pen.
 

Namespace: RSGdiPlusGraphics

expandingSyntax

Parameters

ARect

Type: TRectF

Specifies the rectangle to be drawn.

XRadius

Type: Single

Specifies the distance from a corner to the start point of the customization, on horizontal sides. The maximum value of XRadius is half of the rectangle's width.

YRadius

Type: Single

Specifies the distance from a corner to the start point of the customization, on vertical sides. The maximum value of YRadius is half of the rectangle's height.

ACorners

Type: TRSCorners

Specifies the corners to apply the customization to. ACorners can contain a set of constants defined in the TRSCorner type: crTopLeft, crTopRight, crBottomLeft, and crBottomRight. To apply the customization to all the corners, use the AllCorners constant

AOpacity

Type: Single

Specifies the transparency of the Stroke or ABrush color.

ASides

Type: TRSSides

Specifies the rectangle's sides to be drawn. If two adjacent sides are not drawn, and the corner between them is customized, the customization of the corner is displayed. If ASides is empty, DrawRectSides draws the customized corners, if they are defined. To display all the sides, use the AllSides constant.
 

ACornerType

Type: TRSCornerType

Specifies the TRSCornerType type of corner shapes' customization. It is an optional parameter with a default value of ctRound.

expandingSee Also

Comments (0)

RiverSoftAVG SVG Component Library (RSCL) © 2013-2016, Thomas G. Grubb