question: calculates a mixed color from two colors by interpolating the rgb parts using a mix ratio . concode_field_sep PlaceHolder placeHolder concode_field_sep void fillVerticalGradientRectangle concode_elem_sep void fillVerticalGradientRoundedRectangle
target: Color function ( Color arg0 , Color arg1 , int arg2 ) { return new Color ( arg0 . getDevice ( ) , arg0 . getRed ( ) + ( arg1 . getRed ( ) - arg0 . getRed ( ) ) * arg2 / 255 , arg0 . getGreen ( ) + ( arg1 . getGreen ( ) - arg0 . getGreen ( ) ) * arg2 / 255 , arg0 . getBlue ( ) + ( arg1 . getBlue ( ) - arg0 . getBlue ( ) ) * arg2 / 255 ) ; }