PDF4Java Reference Documentation
com.o2sol.pdf4java.graphics Package / PDFCanvas Class / drawArc Method / drawArc(PDFBrush,double,double,double,double,double,double) Method
that determines the characteristics of the fill.
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.
Collapse All Expand All
In This Topic

drawArc(PDFBrush,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(
       PDFBrush brush,
       double x,
       double y,
       double width,
       double height,
       double startAngle,
       double sweepAngle
    )

#### Parameters

brush
  that determines the characteristics of the fill.
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.

See Also

#### Reference

PDFCanvas Class
PDFCanvas Members
Overload List

© 2025 O2 Solutions All Rights Reserved.

Send comments on this topic.