public void setNonStrokingColor ( final double c , final double m , final double y , final double k ) throws IOException { if ( _isOutsideOneInterval ( c ) || _isOutsideOneInterval ( m ) || _isOutsideOneInterval ( y ) || _isOutsideOneInterval ( k ) ) { throw new IllegalArgumentException ( "Parameters must be within 0..1, but are (" + c + "," + m + "," + y + "," + k + ")" ) ; } writeOperand ( ( float ) c ) ; writeOperand ( ( float ) m ) ; writeOperand ( ( float ) y ) ; writeOperand ( ( float ) k ) ; writeOperator ( ( byte ) ' ' ) ; }
Set the non - stroking color in the DeviceRGB color space . Range is 0 .. 1 .