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