User:Stonestone/PPPNNN: Difference between revisions
Stonestone (talk | contribs) No edit summary |
Stonestone (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
==Shape 1== | |||
<pre> | <pre> | ||
size(width,height) | size(width,height) |
Revision as of 23:07, 19 February 2016
Shape 1
size(width,height) point(x,y) line(x1,y1,x2,y2) triangle(x1,y1,x2,y2,x3,y3) quad(x1,y1,x2,y2,x3,y3) rect(x,y,width,height) ellipse(x,y,width,height) bezier(x1,y1,cx1,cy1,cx2,cy2,x2,y2) fill(x) // x=0-255 stroke(x) // x=0-255 fill(x,y) // y=0-255 0=0% opacity 255=100% opacity noStroke() noFill() smooth() noSmooth() strokeWeight(x) // default = 1 strokeCap // x=ROUND/PROJECT/SQUARE strokeJoin // x=BEVEL/MITER/ROUND ellipseMode(x) // x=CENTER/RADIUS/CORNER/CORNERS rectMode(x) // x=CORNER/CORNERS/CENTER