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

Method rectangle

code/algs4/StdDraw.java:1146–1156  ·  view source on GitHub ↗

Draws a rectangle of the specified size, centered at ( x , y ). @param x the x -coordinate of the center of the rectangle @param y the y -coordinate of the center of the rectangle @param halfWidth one half the width of the rectangle @param halfHeight one half the

(double x, double y, double halfWidth, double halfHeight)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

drawMethod · 0.95

Calls 6

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

Tested by

no test coverage detected