Draws a rectangle structure with rounded corners specified by a PdfRectangle structure.

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

Syntax

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

Parameters

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

Remarks

This methods draws a non-filled rectangle.

Please use AppendRoundedRectangle Overload if you want to append a rectangle with rounded corners to the current path.

See Also