PDF4Java Reference Documentation
com.o2sol.pdf4java.graphics Package / PDFPen Class / setLineCap Method
the line cap style.
Collapse All Expand All
In This Topic

setLineCap Method
In This Topic
Sets the line cap style.
Syntax

    public void setLineCap(
       PDFLineCap lineCap
    )

#### Parameters

lineCap
  the line cap style.

Exceptions

Exception | Description
--- | ---
java.lang.IllegalArgumentException | When lineCap is set to PDFLineCap.UNKNOWN

See Also

#### Reference

PDFPen Class
PDFPen Members

© 2025 O2 Solutions All Rights Reserved.

Send comments on this topic.