creates a java.awt.color from a dhis style color string , e.g. ' #ff3200 ' is an orange color . concode_field_sep int DEFAULT_MAP_WIDTH concode_elem_sep int TITLE_HEIGHT concode_elem_sep int COLOR_RADIX concode_elem_sep String COLOR_PREFIX concode_field_sep boolean nodeIsNonEmpty concode_elem_sep BufferedImage createErrorImage concode_elem_sep int lerp concode_elem_sep double lerp concode_elem_sep Color lerp concode_elem_sep Layer createFeatureLayerFromMapObject concode_elem_sep int[] getWidthHeight concode_elem_sep int getNonEmptyNodes concode_elem_sep BufferedImage render concode_elem_sep BufferedImage renderTitle
Color function ( String arg0 ) { if ( arg0 == null || arg0 . trim ( ) . isEmpty ( ) ) { return null ; } arg0 = arg0 . startsWith ( COLOR_PREFIX ) ? arg0 . substring ( 1 ) : arg0 ; return new Color ( Integer . parseInt ( arg0 , COLOR_RADIX ) ) ; }