PDF4Java Reference Documentation
com.o2sol.pdf4java.graphics Package / PDFCanvas Class / drawChord Method / drawChord(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 bounding rectangle that defines the ellipse from which the pie shape comes.
The y-coordinate of the upper-left corner of the bounding rectangle that defines the ellipse from which the pie shape comes.
Width of the bounding rectangle that defines the ellipse from which the pie shape comes.
Height of the bounding rectangle that defines the ellipse from which the pie shape comes.
Angle measured in degrees clockwise from the x-axis to the first side of the pie shape.
Angle measured in degrees clockwise from the startAngle parameter to the second side of the pie shape.
Collapse All Expand All
In This Topic

drawChord(PDFBrush,double,double,double,double,double,double) Method
In This Topic
Fills the interior of a chord representing a region bounded by the intersection of an ellipse and a line segment, called a secant, specified by a pair of coordinates, a width and a height.
Syntax

    public void drawChord(
       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 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.

See Also

#### Reference

PDFCanvas Class
PDFCanvas Members
Overload List

© 2025 O2 Solutions All Rights Reserved.

Send comments on this topic.