PDF4Java Reference Documentation
com.o2sol.pdf4java.graphics Package / PDFCanvas Class / drawArc Method / drawArc(PDFPen,double,double,double,double,double,double,double) Method
that determines the color, width, and style of the arc.
The x-coordinate of the upper-left corner of the rectangle that defines the ellipse.
The y-coordinate of the upper-left corner of the rectangle that defines the ellipse.
Width of the rectangle that defines the ellipse.
Height of the rectangle that defines the ellipse.
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.
Rotation angle of the bounding rectangle that defines the arc.
Collapse All Expand All
In This Topic

drawArc(PDFPen,double,double,double,double,double,double,double) Method
In This Topic
Draws an arc representing a portion of an ellipse specified by a pair of coordinates, a width, and a height.
Syntax

    public void drawArc(
       PDFPen pen,
       double x,
       double y,
       double width,
       double height,
       double startAngle,
       double sweepAngle,
       double rotation
    )

#### Parameters

pen
  that determines the color, width, and style of the arc.
x
  The x-coordinate of the upper-left corner of the rectangle that defines the ellipse.
y
  The y-coordinate of the upper-left corner of the rectangle that defines the ellipse.
width
  Width of the rectangle that defines the ellipse.
height
  Height of the rectangle that defines the ellipse.
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.
rotation
  Rotation angle of the bounding rectangle that defines the arc.

See Also

#### Reference

PDFCanvas Class
PDFCanvas Members
Overload List

© 2025 O2 Solutions All Rights Reserved.

Send comments on this topic.