'Declaration
Public Overloads Sub DrawDonut( _ ByVal pen As PdfPen, _ 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 donutHeight As Double _ )
'Usage
Dim instance As PdfGraphics Dim pen As PdfPen 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 donutHeight As Double instance.DrawDonut(pen, x, y, width, height, startAngle, sweepAngle, donutHeight)
Parameters
- pen
- PdfPen that determines the color, width, and style of the donut shape.
- x
- The x-coordinate of the upper-left corner of the bounding rectangle that defines the ellipse from which the donut shape comes.
- y
- The y-coordinate of the upper-left corner of the bounding rectangle that defines the ellipse from which the donut shape comes.
- width
- Width of the bounding rectangle that defines the ellipse from which the donut shape comes.
- height
- Height of the bounding rectangle that defines the ellipse from which the donut shape comes.
- startAngle
- Angle measured in degrees clockwise from the x-axis to the first side of the donut shape.
- sweepAngle
- Angle measured in degrees clockwise from the startAngle parameter to the second side of the donut shape.
- donutHeight
- The height of the donut shape. If it is greater than half of the ellipse height then a pie shape will be drawn.