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

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

Syntax

C#
public void DrawRoundedRectangle(
	RectangleF rect,
	SizeF cornerSize
)
VB
Public Sub DrawRoundedRectangle ( 
	rect As RectangleF,
	cornerSize As SizeF
)

Parameters

rect
Type: System.Drawing.RectangleF
A RectangleF structure that represents the rectangle to draw.
cornerSize
Type: System.Drawing.SizeF
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