PDF4Java Reference Documentation
com.o2sol.pdf4java.graphics Package / PDFCanvas Class / drawEllipse Method / drawEllipse(PDFPen,PDFBrush,double,double,double,double) Method
that determines the color, width, and style of the ellipse.
that determines the characteristics of the fill.
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,PDFBrush,double,double,double,double) Method
In This Topic
Draws and fills the interior of 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,
       PDFBrush brush,
       double x,
       double y,
       double width,
       double height
    )

#### Parameters

pen
  that determines the color, width, and style of the ellipse.
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.
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.