public void setNonStrokingColor (final int r, final int g, final int b) throws IOException
  {
    if (_isOutside255Interval (r) || _isOutside255Interval (g) || _isOutside255Interval (b))
    {
      throw new IllegalArgumentException ("Parameters must be within 0..255, but are (" + r + "," + g + "," + b + ")");
    }
    writeOperand (r / 255f);
    writeOperand (g / 255f);
    writeOperand (b / 255f);
    writeOperator ((byte) 'r', (byte) 'g');
  }
public void setNonStrokingColor ( final int r , final int g , final int b ) throws IOException { if ( _isOutside255Interval ( r ) || _isOutside255Interval ( g ) || _isOutside255Interval ( b ) ) { throw new IllegalArgumentException ( "Parameters must be within 0..255, but are (" + r + "," + g + "," + b + ")" ) ; } writeOperand ( r / 255f ) ; writeOperand ( g / 255f ) ; writeOperand ( b / 255f ) ; writeOperator ( ( byte ) 'r' , ( byte ) 'g' ) ; }
Set the non-stroking color in the DeviceRGB color space. Range is 0..255.

@param r
The red value.
@param g
The green value.
@param b
The blue value.
@throws IOException
If an IO error occurs while writing to the stream.
@throws IllegalArgumentException
If the parameters are invalid.