MCPcopy Create free account
hub / github.com/bighuang624/Algorithms-notes / picture

Method picture

code/algs4/Draw.java:860–871  ·  view source on GitHub ↗

Draws picture (gif, jpg, or png) centered on (x, y). @param x the center x-coordinate of the image @param y the center y-coordinate of the image @param filename the name of the image/picture, e.g., "ball.gif" @throws IllegalArgumentException if the image is corrupt @throws IllegalArgumentExcepti

(double x, double y, String filename)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 7

getImageMethod · 0.95
scaleXMethod · 0.95
scaleYMethod · 0.95
drawMethod · 0.95
factorXMethod · 0.95
factorYMethod · 0.95
pixelMethod · 0.95

Tested by

no test coverage detected