public void setNonStrokingColor ( final double g ) throws IOException { if ( _isOutsideOneInterval ( g ) ) { throw new IllegalArgumentException ( "Parameter must be within 0..1, but is " + g ) ; } writeOperand ( ( float ) g ) ; writeOperator ( ( byte ) ' ' ) ; }
Set the non - stroking color in the DeviceGray color space . Range is 0 .. 1 .