Table of Contents

Method DrawRoundedRectangle

Namespace
BitMiracle.Docotic.Pdf
Assembly
BitMiracle.Docotic.Pdf.dll

DrawRoundedRectangle(PdfRectangle, PdfSize)

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

public void DrawRoundedRectangle(PdfRectangle rect, PdfSize cornerSize)

Parameters

rect PdfRectangle

A PdfRectangle structure that represents the rectangle to draw.

cornerSize PdfSize

Size of the corners.

Remarks

This methods draws a non-filled rectangle.

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

DrawRoundedRectangle(PdfRectangle, PdfSize, PdfDrawMode)

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

public void DrawRoundedRectangle(PdfRectangle rect, PdfSize cornerSize, PdfDrawMode mode)

Parameters

rect PdfRectangle

A PdfRectangle structure that represents the rectangle to draw.

cornerSize PdfSize

Size of the corners.

mode PdfDrawMode

The drawing mode.

Remarks

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