int function ( int arg0 ) { if ( arg0 < 0 ) arg0 = 0 ; if ( arg0 > 255 ) arg0 = 255 ; return arg0 ; }
method to correct a color value to be within 0 to 255 concode_field_sep int x concode_elem_sep int y concode_elem_sep DigitalPicture picture concode_field_sep int getCol concode_elem_sep Color getColor concode_elem_sep void setAlpha concode_elem_sep int getRow concode_elem_sep int getBlue concode_elem_sep int getBlue concode_elem_sep void setRed concode_elem_sep void setGreen concode_elem_sep double getAverage concode_elem_sep int getAlpha concode_elem_sep void updatePicture concode_elem_sep int getX concode_elem_sep int getY concode_elem_sep int getRed concode_elem_sep int getRed concode_elem_sep int getGreen concode_elem_sep int getGreen concode_elem_sep void setColor concode_elem_sep double colorDistance concode_elem_sep double colorDistance concode_elem_sep void setBlue concode_elem_sep String toString