private int composeComponent(int a,int b){
  return Math.min(b + b * a / DIMMING_FACTOR,0xff);
}

private int composeComponent ( int a , int b ) { return Math . min ( b + b * a / DIMMING_FACTOR , 0xff ) ; }
apply composition to an individual color component of a pixel .
