Method AppendRoundedRectangle
- Namespace
- BitMiracle.Docotic.Pdf
- Assembly
- BitMiracle.Docotic.Pdf.dll
AppendRoundedRectangle(PdfRectangle, PdfSize)
Appends a rectangle structure with rounded corners specified by a PdfRectangle to the current path as a complete subpath.
public void AppendRoundedRectangle(PdfRectangle rect, PdfSize cornerSize)
Parameters
rect
PdfRectangleA PdfRectangle structure that represents the rectangle to append.
cornerSize
PdfSizeSize 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,
FillAndStrokePath) do that.
Please use
DrawRoundedRectangle
if you want to draw a rectangle with rounded corners
immediately.