PDF4Java Reference Documentation
com.o2sol.pdf4java.graphics Package / PDFPatternPen Class / setColor Method
The pen color.
Collapse All Expand All
In This Topic

setColor Method
In This Topic
Sets the pen color.
Syntax

    public void setColor(
       PDFColor value
    )

#### Parameters

value
  The pen color.

Exceptions

Exception | Description
--- | ---
java.lang.IllegalArgumentException | When color is null or it is not a pattern color.

See Also

#### Reference

PDFPatternPen Class
PDFPatternPen Members

© 2025 O2 Solutions All Rights Reserved.

Send comments on this topic.