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
PdfRectangleA PdfRectangle structure that represents the rectangle to draw.
cornerSize
PdfSizeSize 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
PdfRectangleA PdfRectangle structure that represents the rectangle to draw.
cornerSize
PdfSizeSize of the corners.
mode
PdfDrawModeThe drawing mode.
Remarks
Please use AppendRoundedRectangle if you want to append a rectangle with rounded corners to the current path.