public void setNonStrokingColor ( final int c , final int m , final int y , final int k ) throws IOException { if ( _isOutside255Interval ( c ) || _isOutside255Interval ( m ) || _isOutside255Interval ( y ) || _isOutside255Interval ( k ) ) { throw new IllegalArgumentException ( "Parameters must be within 0..255, but are (" + c + "," + m + "," + y + "," + k + ")" ) ; } setNonStrokingColor ( c / 255f , m / 255f , y / 255f , k / 255f ) ; }
Set the non - stroking color in the DeviceCMYK color space . Range is 0 .. 255 .