'Declaration
Public Overloads Sub DrawRoundRectangle( _ ByVal pen As PdfPen, _ ByVal brush As PdfBrush, _ ByVal x As Double, _ ByVal y As Double, _ ByVal width As Double, _ ByVal height As Double, _ ByVal ellipseWidth As Double, _ ByVal ellipseHeight As Double, _ ByVal rotation As Double _ )
'Usage
Dim instance As PdfGraphics Dim pen As PdfPen Dim brush As PdfBrush Dim x As Double Dim y As Double Dim width As Double Dim height As Double Dim ellipseWidth As Double Dim ellipseHeight As Double Dim rotation As Double instance.DrawRoundRectangle(pen, brush, x, y, width, height, ellipseWidth, ellipseHeight, rotation)
Parameters
- pen
- PdfPen that determines the color, width, and style of the rectangle.
- brush
- PdfBrush that determines the characteristics of the fill.
- x
- The x-coordinate of the upper-left corner of the rectangle to draw.
- y
- The y-coordinate of the upper-left corner of the rectangle to draw.
- width
- Width of the rectangle to draw.
- height
- Height of the rectangle to draw.
- ellipseWidth
- Width of the ellipse that defines the rounded corners.
- ellipseHeight
- Height of the ellipse that defines the rounded corners.
- rotation
- Rotation of the rectangle around the upper-left corner.