Link Search Menu Expand Document

CanvasDrawRoundedRectangle Method (Pen, Brush, RectangleF, Single)

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

Namespace:Bytescout.PDF
Assembly: Bytescout.PDF (in Bytescout.PDF.dll) Version: 3.5.1.1204-master
Syntax
public void DrawRoundedRectangle(
	Pen pen,
	Brush brush,
	RectangleF rect,
	float radius
)

Parameters

pen
Type: Bytescout.PDFPen
Bytescout.PDF.Pen that determines the color, width, and style of the rectangle.
brush
Type: Bytescout.PDFBrush
Bytescout.PDF.Brush that determines the characteristics of the fill.
rect
Type: System.DrawingRectangleF
A System.Drawing.Rectangle structure that represents the rectangle to draw.
radius
Type: SystemSingle
The radius of the corner circle.
See Also

Reference