Debenu Quick PDF logo

DrawEllipticArc

Vector graphics

Description

Draws an arc which is the result of cutting an ellipse between the start angle and the end angle. The angles are measured anti-clockwise with 0 being at the top of the ellipse. ie. 12 O'Clock = 0 degrees and 9 O'Clock is 90 degrees.

Availability

Windows/Delphi, Windows/ActiveX, Windows/DLL, Mac/Dylib, iOS, Android

Parameters

XPos double The horizontal co-ordinate of the center of the ellipse
YPos double The vertical co-ordinate of the center of the ellipse
Width double The width of the ellipse
Height double The height of the ellipse
StartAngle double The angle to start the curve at
EndAngle double The angle to end the curve at
Pie int32 Draw the arms of the arc:
0 = No
1 = Yes
DrawOptions int32 0 = Outline
1 = Fill
2 = Fill and Outline
3 = Close, Fill and Outline (if Pie = 1)

Copyright © 2014 Debenu. All rights reserved. AboutContactBlogNewsletterSupport