We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 63cc5a0 commit 4fe8021Copy full SHA for 4fe8021
src/core/p5.Renderer.js
@@ -4,6 +4,16 @@
4
* @for p5
5
*/
6
7
+/**
8
+ * `pInst` may be:
9
+ *
10
+ * The main sketch-wide `p5` instance (global canvas), or
11
+ * an off-screen `p5.Graphics` wrapper.
12
13
+ * Therefore a renderer must only call properties / methods that exist
14
+ * on both objects.
15
+ */
16
+
17
import { Color } from '../color/p5.Color';
18
import * as constants from '../core/constants';
19
import { Image } from '../image/p5.Image';
0 commit comments