sets the colorspace to use for interpolation . the most common scheme for color spaces is to use linear components between 0 and 1 for instance red , green , blue . for such a component , a linear interpolation between two colors is used . sometimes a component may be in cylindrical coordinates . in this case , the component can be mapped in a number of ways . these are set by interpolationdirections . concode_field_sep ColorSpace colorSpace concode_elem_sep InterpolationDirection[] interpolationDirection concode_field_sep void setInterpolationDirection concode_elem_sep Color interpolate
void function ( ColorSpace arg0 , InterpolationDirection [ ] arg1 ) { if ( arg1 . length < arg0 . getNumComponents ( ) ) { throw new IllegalArgumentException ( "srini_string" + "srini_string" + arg0 . getNumComponents ( ) + "srini_string" ) ; } this . colorSpace = arg0 ; this . interpolationDirection = arg1 ; }