This repository was archived by the owner on Apr 16, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
Color
Atsuya Sato edited this page Nov 30, 2018
·
5 revisions
iOS, OSX

background(255, 204, 0)iOS, OSX
clear()This function clears everything in a ProcessingView object.
iOS, OSX

fill(204, 102, 0)
rect(30, 20, 55, 55)iOS, OSX

stroke(204, 102, 0)
rect(30, 20, 55, 55)iOS, OSX

strokeWeight(1)
line(20, 20, 80, 20)
strokeWeight(4)
line(20, 40, 80, 40)
strokeWeight(10)
line(20, 70, 80, 70)iOS, OSX
noFill()Disables filling geometry
iOS, OSX
noStroke()Disables drawing the stroke (outline)