XFINIUM.PDF Documentation
DrawRoundRectangle(PdfBrush,Double,Double,Double,Double,Double,Double,Double) Method



Xfinium.Pdf.Graphics Namespace > PdfGraphics Class > DrawRoundRectangle Method : DrawRoundRectangle(PdfBrush,Double,Double,Double,Double,Double,Double,Double) Method
PdfBrush that determines the characteristics of the fill.
The x-coordinate of the upper-left corner of the rectangle to draw.
The y-coordinate of the upper-left corner of the rectangle to draw.
Width of the rectangle to draw.
Height of the rectangle to draw.
Width of the ellipse that defines the rounded corners.
Height of the ellipse that defines the rounded corners.
Rotation of the rectangle around the upper-left corner.
Fills the interior of rounded rectangle specified by a coordinate pair, a width, and a height.
Syntax
'Declaration
 
Public Overloads Sub DrawRoundRectangle( _
   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 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(brush, x, y, width, height, ellipseWidth, ellipseHeight, rotation)

Parameters

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.
Requirements

Supported .NET Platforms: .NET 4.0 and higher, Windows Forms, ASP.NET, Windows Presentation Foundation 4.x, Silverlight 5, WinRT, Universal Windows Platform, Xamarin Mac, iOS & Android, Portable Class Library, .NET Core, .NET Standard


Target Platforms:Windows 10, Windows 8.1, Windows 8 , Windows 7, Windows Vista SP1 or later, Windows Server 2008, Windows Server 2008 R2

See Also

Reference

PdfGraphics Class
PdfGraphics Members
Overload List