Appends a rectangle structure with rounded corners specified by a PdfRectangle to the current path as a complete subpath.

Namespace:  BitMiracle.Docotic.Pdf
Assembly:  BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)

Syntax

C#
public void AppendRoundedRectangle(
	PdfRectangle rect,
	PdfSize cornerSize
)
VB
Public Sub AppendRoundedRectangle ( 
	rect As PdfRectangle,
	cornerSize As PdfSize
)

Parameters

rect
Type: BitMiracle.Docotic.Pdf.PdfRectangle
A PdfRectangle structure that represents the rectangle to append.
cornerSize
Type: BitMiracle.Docotic.Pdf.PdfSize
Size of the corners.

Remarks

Note that the call to this method does not place any marks on the canvas; only the painting operators (StrokePath(), CloseAndStrokePath(), FillPath Overload, FillAndStrokePath Overload) do that.

Please use DrawRoundedRectangle Overload if you want to draw a rectangle with rounded corners immediately.

See Also