Name

beginShape()

Examples
size(100, 100, P2D)

s = createShape()
s.beginShape()
s.fill(0, 0, 255)
s.noStroke()
s.vertex(0, 0)
s.vertex(0, 50)
s.vertex(50, 0)
s.endShape()

shape(s, 25, 25)
Description
Syntax
beginShape()
beginShape(kind)
Parameters
kind
Related endShape()
Updated on Sun Aug 30 12:17:17 2015.
Creative Commons License