Skip to content

PdfGraphics.DrawArc Method

Overloads

Name Description
DrawArc(PdfPen,Double,Double,Double,Double,Double,Double) Draws an arc representing a portion of an ellipse specified by a pair of coordinates, a width, and a height.
DrawArc(PdfPen,Double,Double,Double,Double,Double,Double,Double) Draws an arc representing a portion of an ellipse specified by a pair of coordinates, a width, and a height.
DrawArc(PdfBrush,Double,Double,Double,Double,Double,Double) Draws an arc representing a portion of an ellipse specified by a pair of coordinates, a width, and a height.
DrawArc(PdfBrush,Double,Double,Double,Double,Double,Double,Double) Draws an arc representing a portion of an ellipse specified by a pair of coordinates, a width, and a height.
DrawArc(PdfPen,PdfBrush,Double,Double,Double,Double,Double,Double) Draws an arc representing a portion of an ellipse specified by a pair of coordinates, a width, and a height.
DrawArc(PdfPen,PdfBrush,Double,Double,Double,Double,Double,Double,Double) Draws an arc representing a portion of an ellipse specified by a pair of coordinates, a width, and a height.

DrawArc(PdfPen,Double,Double,Double,Double,Double,Double)

Draws an arc representing a portion of an ellipse specified by a pair of coordinates, a width, and a height.

C#
public void DrawArc(PdfPen pen, double x, double y, double width, double height, double startAngle, double sweepAngle)

Parameters

pen PdfPen

PdfPen that determines the color, width, and style of the arc.

x Double

The x-coordinate of the upper-left corner of the rectangle that defines the ellipse.

y Double

The y-coordinate of the upper-left corner of the rectangle that defines the ellipse.

width Double

Width of the rectangle that defines the ellipse.

height Double

Height of the rectangle that defines the ellipse.

startAngle Double

Angle in degrees measured clockwise from the x-axis to the starting point of the arc.

sweepAngle Double

Angle in degrees measured clockwise from the startAngle parameter to ending point of the arc.

DrawArc(PdfPen,Double,Double,Double,Double,Double,Double,Double)

Draws an arc representing a portion of an ellipse specified by a pair of coordinates, a width, and a height.

C#
public void DrawArc(PdfPen pen, double x, double y, double width, double height, double startAngle, double sweepAngle, double rotation)

Parameters

pen PdfPen

PdfPen that determines the color, width, and style of the arc.

x Double

The x-coordinate of the upper-left corner of the rectangle that defines the ellipse.

y Double

The y-coordinate of the upper-left corner of the rectangle that defines the ellipse.

width Double

Width of the rectangle that defines the ellipse.

height Double

Height of the rectangle that defines the ellipse.

startAngle Double

Angle in degrees measured clockwise from the x-axis to the starting point of the arc.

sweepAngle Double

Angle in degrees measured clockwise from the startAngle parameter to ending point of the arc.

rotation Double

Rotation angle of the bounding rectangle that defines the arc.

DrawArc(PdfBrush,Double,Double,Double,Double,Double,Double)

Draws an arc representing a portion of an ellipse specified by a pair of coordinates, a width, and a height.

C#
public void DrawArc(PdfBrush brush, double x, double y, double width, double height, double startAngle, double sweepAngle)

Parameters

brush PdfBrush

PdfBrush that determines the characteristics of the fill.

x Double

The x-coordinate of the upper-left corner of the rectangle that defines the ellipse.

y Double

The y-coordinate of the upper-left corner of the rectangle that defines the ellipse.

width Double

Width of the rectangle that defines the ellipse.

height Double

Height of the rectangle that defines the ellipse.

startAngle Double

Angle in degrees measured clockwise from the x-axis to the starting point of the arc.

sweepAngle Double

Angle in degrees measured clockwise from the startAngle parameter to ending point of the arc.

DrawArc(PdfBrush,Double,Double,Double,Double,Double,Double,Double)

Draws an arc representing a portion of an ellipse specified by a pair of coordinates, a width, and a height.

C#
public void DrawArc(PdfBrush brush, double x, double y, double width, double height, double startAngle, double sweepAngle, double rotation)

Parameters

brush PdfBrush

PdfBrush that determines the characteristics of the fill.

x Double

The x-coordinate of the upper-left corner of the rectangle that defines the ellipse.

y Double

The y-coordinate of the upper-left corner of the rectangle that defines the ellipse.

width Double

Width of the rectangle that defines the ellipse.

height Double

Height of the rectangle that defines the ellipse.

startAngle Double

Angle in degrees measured clockwise from the x-axis to the starting point of the arc.

sweepAngle Double

Angle in degrees measured clockwise from the startAngle parameter to ending point of the arc.

rotation Double

Rotation angle of the bounding rectangle that defines the arc.

DrawArc(PdfPen,PdfBrush,Double,Double,Double,Double,Double,Double)

Draws an arc representing a portion of an ellipse specified by a pair of coordinates, a width, and a height.

C#
public void DrawArc(PdfPen pen, PdfBrush brush, double x, double y, double width, double height, double startAngle, double sweepAngle)

Parameters

pen PdfPen

PdfPen that determines the color, width, and style of the arc.

brush PdfBrush

PdfBrush that determines the characteristics of the fill.

x Double

The x-coordinate of the upper-left corner of the rectangle that defines the ellipse.

y Double

The y-coordinate of the upper-left corner of the rectangle that defines the ellipse.

width Double

Width of the rectangle that defines the ellipse.

height Double

Height of the rectangle that defines the ellipse.

startAngle Double

Angle in degrees measured clockwise from the x-axis to the starting point of the arc.

sweepAngle Double

Angle in degrees measured clockwise from the startAngle parameter to ending point of the arc.

DrawArc(PdfPen,PdfBrush,Double,Double,Double,Double,Double,Double,Double)

Draws an arc representing a portion of an ellipse specified by a pair of coordinates, a width, and a height.

C#
public void DrawArc(PdfPen pen, PdfBrush brush, double x, double y, double width, double height, double startAngle, double sweepAngle, double rotation)

Parameters

pen PdfPen

PdfPen that determines the color, width, and style of the arc.

brush PdfBrush

PdfBrush that determines the characteristics of the fill.

x Double

The x-coordinate of the upper-left corner of the rectangle that defines the ellipse.

y Double

The y-coordinate of the upper-left corner of the rectangle that defines the ellipse.

width Double

Width of the rectangle that defines the ellipse.

height Double

Height of the rectangle that defines the ellipse.

startAngle Double

Angle in degrees measured clockwise from the x-axis to the starting point of the arc.

sweepAngle Double

Angle in degrees measured clockwise from the startAngle parameter to ending point of the arc.

rotation Double

Rotation angle of the bounding rectangle that defines the arc.