MCPcopy Index your code
hub / github.com/benfry/processing4 / initOffscreen

Method initOffscreen

core/src/processing/core/PSurfaceNone.java:80–85  ·  view source on GitHub ↗
(PApplet sketch)

Source from the content-addressed store, hash-verified

78
79
80 @Override
81 public void initOffscreen(PApplet sketch) {
82 this.sketch = sketch;
83
84 setSize(sketch.sketchWidth(), sketch.sketchHeight());
85 }
86
87
88// public Component initComponent(PApplet sketch) {

Callers

nothing calls this directly

Calls 3

setSizeMethod · 0.95
sketchWidthMethod · 0.80
sketchHeightMethod · 0.80

Tested by

no test coverage detected