mirror of
https://github.com/processing/processing4.git
synced 2026-02-10 09:09:26 +01:00
19 lines
319 B
Java
Executable File
19 lines
319 B
Java
Executable File
package test;
|
|
import processing.core.*;
|
|
|
|
/**
|
|
*
|
|
* @author Francis Li
|
|
*/
|
|
public class BezierTest2 extends PMIDlet {
|
|
|
|
void setup() {
|
|
stroke(255, 102, 0);
|
|
line(30, 20, 80, 5);
|
|
line(80, 75, 30, 75);
|
|
stroke(0, 0, 0);
|
|
bezier(30, 20, 80, 5, 80, 75, 30, 75);
|
|
}
|
|
|
|
}
|