MCPcopy Index your code
hub / github.com/processing/p5.js / resizeCanvas

Method resizeCanvas

src/core/p5.Graphics.js:83–85  ·  view source on GitHub ↗
(w, h)

Source from the content-addressed store, hash-verified

81 }
82
83 resizeCanvas(w, h){
84 this._renderer.resize(w, h);
85 }
86
87 /**
88 * Resets the graphics buffer's transformations and lighting.

Callers 14

pixelDensityMethod · 0.95
loading.jsFile · 0.80
rendering.jsFile · 0.80
resizeFunction · 0.80
p5.Graphics.jsFile · 0.80
p5.Framebuffer.jsFile · 0.80
p5.Texture.jsFile · 0.80
p5.Camera.jsFile · 0.80
p5.RendererGL.jsFile · 0.80
p5.Framebuffer.jsFile · 0.80
webgpu.jsFile · 0.80
webgl.jsFile · 0.80

Calls 1

resizeMethod · 0.45

Tested by

no test coverage detected