PdfPath.AddRoundRectangle Method
AddRoundRectangle(Double,Double,Double,Double,Double,Double)
Adds a rounded rectangle to path.
C#
public void AddRoundRectangle(double left, double top, double width, double height, double ellipseWidth, double ellipseHeight)
Parameters
left Double
x position of rectangle's top left corner.
top Double
y position of rectangle's top left corner.
width Double
The rectangle width.
height Double
The rectangle height.
ellipseWidth Double
The width of the ellipse that defines the rectangle corners.
ellipseHeight Double
The height of the ellipse that defines the rectangle corners.
Remarks
The round rectangle defines a closed subpath.