MCPcopy Create free account
hub / github.com/OpenSourcePhysics/osp / getImage

Method getImage

src/org/opensourcephysics/tools/Resource.java:251–256  ·  view source on GitHub ↗

Gets an Image. @return the image

()

Source from the content-addressed store, hash-verified

249 * @return the image
250 */
251 public Image getImage() {
252 if (isBytes)
253 return icon.getImage();
254 ImageIcon icon = getImageIcon();
255 return (icon == null ? null : icon.getImage());
256 }
257
258 /**
259 * Gets a buffered image.

Callers 4

getBufferedImageMethod · 0.95
getImageMethod · 0.95
getVideoImageMethod · 0.95
loadImagesMethod · 0.95

Calls 2

getImageIconMethod · 0.95
getImageMethod · 0.65

Tested by

no test coverage detected