Show/Hide Toolbars

RiverSoftAVG Products Help

Navigation: Code Documentation > RSVML > RSGdiPlusGraphics > Classes > TRSGPPath > Methods

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

Scroll Prev Top Next More

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

Namespace: RSGdiPlusGraphics

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

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb