PDF4Java Reference Documentation
com.o2sol.pdf4java.graphics Package / PDFContentStream Class / setFillColorSpace Method
The active colorspace used for fill operations
Collapse All Expand All
In This Topic

setFillColorSpace Method
In This Topic
Sets the fill colorspace. Operator: cs
Syntax

    public void setFillColorSpace(
       PDFColorSpace colorSpace
    )

#### Parameters

colorSpace
  The active colorspace used for fill operations

Exceptions

Exception | Description
--- | ---
java.lang.IllegalArgumentException | When colorSpace is null.

See Also

#### Reference

PDFContentStream Class
PDFContentStream Members

© 2025 O2 Solutions All Rights Reserved.

Send comments on this topic.