MCPcopy Create free account
hub / github.com/Semaserg/LeetCodeProblems / setCanvasSize

Method setCanvasSize

graph/GenerateMaze_vstar/StdDraw.java:640–642  ·  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

nothing calls this directly

Calls 1

initMethod · 0.95

Tested by

no test coverage detected