Adds a rectangle with customized shapes for the corners to this path.
Namespace: RSGdiPlusGraphics
Delphi |
public |
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
Type: TRSGPPath
The function returns the current path so that you can chain together commands, e.g., aPath.MoveTo(PointF(50,50)).LineTo(PointF(100,100).AddPolygon(Polygon1).AddEllipse(RectF(10,10,200,100)); |