Name | PShape |
---|---|
Examples |
size(100, 100) # The file "apple.svg" must be in the data folder # of the current sketch to load successfully s = loadShape("apple.svg") shape(s, 10, 10, 80, 80) size(100, 100, P2D) # Creating the PShape as a square. The corner # is 0,0 so that the center is at 40,40 square = createShape(RECT, 0, 0, 80, 80) shape(square, 10, 10) |
Description | |
Related |
loadShape() createShape() shapeMode() |
Cover
Reference
Tutorials
Examples
Bugs