PDF4Java Reference Documentation
com.o2sol.pdf4java.graphics Package / PDFContentStream Class / setRgbFillColor Method
Red level.
Green level
Blue level
Collapse All Expand All
In This Topic

setRgbFillColor Method
In This Topic
Sets the current colorspace for fill operations to DeviceRGB and sets the current RGB color. Operator: rg
Syntax

    public void setRgbFillColor(
       double r,
       double g,
       double b
    )

#### Parameters

r
  Red level.
g
  Green level
b
  Blue level

See Also

#### Reference

PDFContentStream Class
PDFContentStream Members

© 2025 O2 Solutions All Rights Reserved.

Send comments on this topic.