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

Method setCanvasSize

code/algs4/StdDraw.java:636–638  ·  view source on GitHub ↗

Sets the canvas (drawing area) to be 512-by-512 pixels. This also erases the current drawing and resets the coordinate system, pen radius, pen color, and font back to their default values. Ordinarly, this method is called once, at the very beginning of a program.

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

mainMethod · 0.95

Calls 1

initMethod · 0.95

Tested by

no test coverage detected