get an attribute value converted to a color . iscolor should first be checked concode_field_sep String STROKE concode_elem_sep String FILL concode_elem_sep String STROKE_DASHARRAY concode_elem_sep String metaData concode_elem_sep String ID concode_elem_sep String STROKE_MITERLIMIT concode_elem_sep String NONE concode_elem_sep Properties props concode_elem_sep String STROKE_OPACITY concode_elem_sep String OPACITY concode_elem_sep String STROKE_WIDTH concode_elem_sep String STROKE_DASHOFFSET concode_field_sep float getAsFloat concode_elem_sep String getAttribute concode_elem_sep void addAttribute concode_elem_sep String morphColor concode_elem_sep boolean isColor concode_elem_sep boolean isStroked concode_elem_sep boolean isFilled concode_elem_sep String getAsReference concode_elem_sep String getMetaData
Color function ( String arg0 ) { if ( ! isColor ( arg0 ) ) { throw new RuntimeException ( "srini_string" + arg0 + "srini_string" + getAttribute ( arg0 ) ) ; } int loc0 = Integer . parseInt ( getAttribute ( arg0 ) . substring ( 1 ) , 16 ) ; return new Color ( loc0 ) ; }