Color function ( int arg0 ) { if ( image == null || arg0 < 0 || arg0 >= pixels ( ) ) { throw new IndexOutOfBoundsException ( "srini_string" + arg0 ) ; } else { return getColorAt ( arg0 % image . getWidth ( ) , arg0 / image . getWidth ( ) ) ; } }
gets the color of a pixel . concode_field_sep BufferedImage image concode_elem_sep JLabel label concode_elem_sep double xGrow concode_elem_sep double yGrow concode_elem_sep double x concode_elem_sep double y concode_elem_sep String source concode_field_sep void setColorAt concode_elem_sep void setColorAt concode_elem_sep void grow concode_elem_sep int getMaxX concode_elem_sep int getMaxY concode_elem_sep int[][] getGrayLevels concode_elem_sep int getWidth concode_elem_sep void draw concode_elem_sep void translate concode_elem_sep void paintShape concode_elem_sep int getX concode_elem_sep int getHeight concode_elem_sep int getY concode_elem_sep int pixels concode_elem_sep void load concode_elem_sep String toString