'Declaration
Public Overloads Sub DrawChord( _ ByVal pen As PdfPen, _ 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 pen As PdfPen 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.DrawChord(pen, brush, x, y, width, height, startAngle, sweepAngle, rotation)
Parameters
- pen
- PdfPen that determines the color, width, and style of the pie shape.
- brush
- PdfBrush that determines the characteristics of the fill.
- x
- The x-coordinate of the upper-left corner of the bounding rectangle that defines the ellipse from which the pie shape comes.
- y
- The y-coordinate of the upper-left corner of the bounding rectangle that defines the ellipse from which the pie shape comes.
- width
- Width of the bounding rectangle that defines the ellipse from which the pie shape comes.
- height
- Height of the bounding rectangle that defines the ellipse from which the pie shape comes.
- startAngle
- Angle measured in degrees clockwise from the x-axis to the first side of the pie shape.
- sweepAngle
- Angle measured in degrees clockwise from the startAngle parameter to the second side of the pie shape.
- rotation
- Rotation angle of the bounding rectangle that defines the chord.