CanvasDrawRoundedRectangle Method (Brush, Single, Single, Single, Single, Single)
Free Trial Web API version Licensing Request A Quote
HAVE QUESTIONS OR NEED HELP?SUBMIT THE SUPPORT REQUEST FORM or write email toSUPPORT@BYTESCOUT.COM
Draws a rectangle structure with rounded corners specified by a coordinate pair, a width, and a height.
Namespace:Bytescout.PDFAssembly: Bytescout.PDF (in Bytescout.PDF.dll) Version: 3.5.1.1204-master
Syntax
public void DrawRoundedRectangle( Brush brush, float left, float top, float width, float height, float radius )
Parameters
- brush
- Type: Bytescout.PDFBrush
Bytescout.PDF.Brush that determines the characteristics of the fill. - left
- Type: SystemSingle
The x-coordinate of the upper-left corner of the rectangle to draw. - top
- Type: SystemSingle
The y-coordinate of the upper-left corner of the rectangle to draw. - width
- Type: SystemSingle
The width of the rectangle to draw. - height
- Type: SystemSingle
The height of the rectangle to draw. - radius
- Type: SystemSingle
The radius of the corner circle.
See Also