src/main/java/com/mxgraph/canvas/mxSvgCanvas.java
protected boolean isImageResource(String src)
	{
		return src != null
				&& (src.toLowerCase().endsWith(".png")
						|| src.toLowerCase().endsWith(".jpg") || src
						.toLowerCase().endsWith(".gif"));
	}
/**
	 * Returns true if the given string ends with .png, .jpg or .gif.
	 */
Returns true if the given string ends with .png, .jpg or .gif.
Returns true if the given string ends with . png . jpg or . gif .
protected boolean isImageResource(String src)
	{
		return src != null
				&& (src.toLowerCase().endsWith(".png")
						|| src.toLowerCase().endsWith(".jpg") || src
						.toLowerCase().endsWith(".gif"));
	}
protected boolean isImageResource ( String src ) { return src != null && ( src . toLowerCase ( ) . endsWith ( ".png" ) || src . toLowerCase ( ) . endsWith ( ".jpg" ) || src . toLowerCase ( ) . endsWith ( ".gif" ) ) ; }
Returns true if the given string ends with .png, .jpg or .gif.
Returns true if the given string ends with . png . jpg or . gif .