日归档:2017年7月28日
Namebezier()贝塞尔曲线 Examples
noFill();
stroke(255, 102, 0);
line(85, 20, 10, 10);
line(90, 90, 15, 80);
stroke(0, 0, 0);
bezier(85, 20, 10, 10, .... Read More >
Namerect()矩形 Examples
rect(30, 20, 55, 55);
rect(30, 20, 55, 55, 7);
rect(30, 20, 55, 55, 3, 6, 12, 18);DescriptionDraws a rec.... Read More >
Nameline()线段 Examples
line(30, 20, 85, 75);
line(30, 20, 85, 20);
stroke(126);
line(85, 20, 85, 75);
stroke(255);
line(85, 75, 30, 75).... Read More >
Namearc() 弧形 Examples
arc(50, 55, 50, 50, 0, HALF_PI);
noFill();
arc(50, 55, 60, 60, HALF_PI, PI);
arc(50, 55, 70, 70, PI, PI+QUARTER_PI);
arc.... Read More >