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

setRgbStrokeColor Method
In This Topic
Sets the current colorspace for stroke operations to DeviceRGB and sets the current RGB color. Operator: RG
Syntax

    public void setRgbStrokeColor(
       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.