mirror of
https://github.com/processing/processing4.git
synced 2026-02-10 09:09:26 +01:00
19 lines
303 B
Java
Executable File
19 lines
303 B
Java
Executable File
package test;
|
|
import processing.core.*;
|
|
|
|
/**
|
|
*
|
|
* @author Francis Li
|
|
*/
|
|
public class BeginShapeTest2 extends PMIDlet {
|
|
|
|
void setup() {
|
|
beginShape(LINES);
|
|
vertex(30, 20);
|
|
vertex(85, 20);
|
|
vertex(85, 75);
|
|
vertex(30, 75);
|
|
endShape();
|
|
}
|
|
}
|