Hide Comments
Hide Comments

TRSGPPath.AddRectangle(TRectF,Single,Single,TRSCorners,TRSCornerType) Method

Comments (0)

Adds a rectangle with customized shapes for the corners to this path.

Namespace: RSGdiPlusGraphics

expandingSyntax

Parameters

ARect

Type: TRectF

rectangle to be added to the path.

XRadius

Type: Single

specifies the distance from a corner to the start point of the corner 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. To apply the customization to all corners, use the AllCorners constant.

ACornerType

Type: TRSCornerType

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

Return Value

Type: TRSGPPath

expandingRemarks
expandingSee Also

Comments (0)

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