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



Xfinium.Pdf.Graphics Namespace > PdfGraphics Class > DrawArc Method : DrawArc(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 that defines the ellipse.
The y-coordinate of the upper-left corner of the rectangle that defines the ellipse.
Width of the rectangle that defines the ellipse.
Height of the rectangle that defines the ellipse.
Angle in degrees measured clockwise from the x-axis to the starting point of the arc.
Angle in degrees measured clockwise from the startAngle parameter to ending point of the arc.
Rotation angle of the bounding rectangle that defines the arc.
Draws an arc representing a portion of an ellipse specified by a pair of coordinates, a width, and a height.
Syntax
'Declaration
 
Public Overloads Sub DrawArc( _
   ByVal brush As PdfBrush, _
   ByVal x As Double, _
   ByVal y As Double, _
   ByVal width As Double, _
   ByVal height As Double, _
   ByVal startAngle As Double, _
   ByVal sweepAngle 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 startAngle As Double
Dim sweepAngle As Double
Dim rotation As Double
 
instance.DrawArc(brush, x, y, width, height, startAngle, sweepAngle, rotation)

Parameters

brush
PdfBrush that determines the characteristics of the fill.
x
The x-coordinate of the upper-left corner of the rectangle that defines the ellipse.
y
The y-coordinate of the upper-left corner of the rectangle that defines the ellipse.
width
Width of the rectangle that defines the ellipse.
height
Height of the rectangle that defines the ellipse.
startAngle
Angle in degrees measured clockwise from the x-axis to the starting point of the arc.
sweepAngle
Angle in degrees measured clockwise from the startAngle parameter to ending point of the arc.
rotation
Rotation angle of the bounding rectangle that defines the arc.
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