XFINIUM.PDF Documentation
AddArcFromCurrentPoint Method



Xfinium.Pdf.Graphics Namespace > PdfPath Class : AddArcFromCurrentPoint 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.
True if the arc starts from current path point.
Adds an arc to path, used only for drawing clouds.
Syntax
'Declaration
 
Public Sub AddArcFromCurrentPoint( _
   ByVal left As Double, _
   ByVal top As Double, _
   ByVal width As Double, _
   ByVal height As Double, _
   ByVal startAngle As Double, _
   ByVal sweepAngle As Double, _
   ByVal fromCurrentPoint As Boolean _
) 
'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
Dim fromCurrentPoint As Boolean
 
instance.AddArcFromCurrentPoint(left, top, width, height, startAngle, sweepAngle, fromCurrentPoint)

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.
fromCurrentPoint
True if the arc starts from current path point.
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