XFINIUM.PDF Documentation
DrawEllipse(PdfPen,PdfBrush,Double,Double,Double,Double) Method



Xfinium.Pdf.Graphics Namespace > PdfGraphics Class > DrawEllipse Method : DrawEllipse(PdfPen,PdfBrush,Double,Double,Double,Double) Method
PdfPen that determines the color, width, and style of the ellipse.
PdfBrush that determines the characteristics of the fill.
The x-coordinate of the upper-left corner of the bounding rectangle that defines the ellipse.
The y-coordinate of the upper-left corner of the bounding rectangle that defines the ellipse.
Width of the bounding rectangle that defines the ellipse.
Height of the bounding rectangle that defines the ellipse.
Draws and fills the interior of an ellipse defined by a bounding rectangle specified by coordinates for the upper-left corner of the rectangle, a height, and a width.
Syntax
'Declaration
 
Public Overloads Sub DrawEllipse( _
   ByVal pen As PdfPen, _
   ByVal brush As PdfBrush, _
   ByVal x As Double, _
   ByVal y As Double, _
   ByVal width As Double, _
   ByVal height 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
 
instance.DrawEllipse(pen, brush, x, y, width, height)
public void DrawEllipse( 
   PdfPen pen,
   PdfBrush brush,
   double x,
   double y,
   double width,
   double height
)
public:
void DrawEllipse( 
   PdfPen^ pen,
   PdfBrush^ brush,
   double x,
   double y,
   double width,
   double height
) 

Parameters

pen
PdfPen that determines the color, width, and style of the ellipse.
brush
PdfBrush that determines the characteristics of the fill.
x
The x-coordinate of the upper-left corner of the bounding rectangle that defines the ellipse.
y
The y-coordinate of the upper-left corner of the bounding rectangle that defines the ellipse.
width
Width of the bounding rectangle that defines the ellipse.
height
Height of the bounding rectangle that defines the ellipse.
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