PDF4Java Reference Documentation
com.o2sol.pdf4java.graphics Package / PDFCanvas Class / drawPath Method / drawPath(PDFPen,PDFBrush,PDFPath,PDFFillMode) Method
that determines the color, width, and style of the path.
that determines the characteristics of the fill.
to draw and fill.
Path fill mode.
Collapse All Expand All
In This Topic

drawPath(PDFPen,PDFBrush,PDFPath,PDFFillMode) Method
In This Topic
Draws and fills a .
Syntax

    public void drawPath(
       PDFPen pen,
       PDFBrush brush,
       PDFPath path,
       PDFFillMode fillMode
    )

#### Parameters

pen
  that determines the color, width, and style of the path.
brush
  that determines the characteristics of the fill.
path
  to draw and fill.
fillMode
  Path fill mode.

Exceptions

Exception | Description
--- | ---
java.lang.IllegalArgumentException | when path parameter is null

See Also

#### Reference

PDFCanvas Class
PDFCanvas Members
Overload List

© 2025 O2 Solutions All Rights Reserved.

Send comments on this topic.