createGraphics()
RenderingDescription
Creates an off-screen rendering surface (PGraphics). Draw into it using beginDraw()/endDraw(), then display with image().
Syntax
PGraphics* createGraphics(int w, int h)
Parameters
| Name | Type | Description |
|---|---|---|
| w | int | width of the graphics buffer |
| h | int | height of the graphics buffer |
Returns
PGraphics*Related
Under the Hood
Implementation in Processing.h / Processing.cpp:
Loading...