PDF4Java Reference Documentation
com.o2sol.pdf4java.graphics Package / PDFCanvas Class / drawEllipse Method / drawEllipse(PDFPen,double,double,double,double) Method
that determines the color, width, and style of the ellipse.
The x-coordinate of the upper-left corner of the bounding rectangle that defines the ellipse.
The y-coordinate of the upper-left corner of the bounding rectangle that defines the ellipse.
Width of the bounding rectangle that defines the ellipse.
Height of the bounding rectangle that defines the ellipse.
Collapse All Expand All
In This Topic

drawEllipse(PDFPen,double,double,double,double) Method
In This Topic
Draws an ellipse defined by a bounding rectangle specified by coordinates for the upper-left corner of the rectangle, a height, and a width.
Syntax

    public void drawEllipse(
       PDFPen pen,
       double x,
       double y,
       double width,
       double height
    )

#### Parameters

pen
  that determines the color, width, and style of the ellipse.
x
  The x-coordinate of the upper-left corner of the bounding rectangle that defines the ellipse.
y
  The y-coordinate of the upper-left corner of the bounding rectangle that defines the ellipse.
width
  Width of the bounding rectangle that defines the ellipse.
height
  Height of the bounding rectangle that defines the ellipse.

See Also

#### Reference

PDFCanvas Class
PDFCanvas Members
Overload List

© 2025 O2 Solutions All Rights Reserved.

Send comments on this topic.