Name

PGraphics

Examples
size(100, 100)
pg = createGraphics(40, 40)

pg.beginDraw()
pg.background(100)
pg.stroke(255)
pg.line(20, 20, mouseX, mouseY)
pg.endDraw()
image(pg, 9, 30)
image(pg, 51, 30)
Description
Related createGraphics()
Updated on Wed Jan 18 17:32:21 2017.
Creative Commons License