XFINIUM.PDF Documentation
AddArc Method



Xfinium.Pdf.Graphics Namespace > PdfPath Class : AddArc Method
x position of rectangle's top left corner.
y position of rectangle's top left corner.
The rectangle width.
The rectangle height.
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.
Adds an arc to path.
Syntax
'Declaration
 
Public Sub AddArc( _
   ByVal left As Double, _
   ByVal top As Double, _
   ByVal width As Double, _
   ByVal height As Double, _
   ByVal startAngle As Double, _
   ByVal sweepAngle As Double _
) 
'Usage
 
Dim instance As PdfPath
Dim left As Double
Dim top As Double
Dim width As Double
Dim height As Double
Dim startAngle As Double
Dim sweepAngle As Double
 
instance.AddArc(left, top, width, height, startAngle, sweepAngle)

Parameters

left
x position of rectangle's top left corner.
top
y position of rectangle's top left corner.
width
The rectangle width.
height
The rectangle height.
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.
Remarks
The arc defines an open subpath.
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

PdfPath Class
PdfPath Members