src/main/java/com/mxgraph/canvas/mxGraphicsCanvas2D.java
protected Color parseColor(String hex, double alpha)
	{
		Color result = colorCache.get(hex);

		if (result == null)
		{
			result = mxUtils.parseColor(hex, alpha);
			colorCache.put(hex + "-" + (int) (alpha * 255), result);
		}

		return result;
	}
/**
	 * Helper method that uses {@link mxUtils#parseColor(String)}.
	 */
Helper method that uses  mxUtils#parseColor(String).
Helper method that uses mxUtils#parseColor ( String ) .
protected Color parseColor(String hex, double alpha)
	{
		Color result = colorCache.get(hex);
		if (result == null)
		{
			result = mxUtils.parseColor(hex, alpha);
			colorCache.put(hex + "-" + (int) (alpha * 255), result);
		}
		return result;
	}
protected Color parseColor ( String hex , double alpha ) { Color result = colorCache . get ( hex ) ; if ( result == null ) { result = mxUtils . parseColor ( hex , alpha ) ; colorCache . put ( hex + "-" + ( int ) ( alpha * 255 ) , result ) ; } return result ; }
Helper method that uses {@link mxUtils#parseColor(String)}.
Helper method that uses { @link mxUtils#parseColor ( String ) } .