mirror of
https://github.com/processing/processing4.git
synced 2026-02-11 09:39:19 +01:00
Core files, plus some test files (note that test files may not compile due to recent changes to the core)
This commit is contained in:
20
core/test/BeginShapeTest9.java
Executable file
20
core/test/BeginShapeTest9.java
Executable file
@@ -0,0 +1,20 @@
|
||||
package test;
|
||||
import processing.core.*;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Francis Li
|
||||
*/
|
||||
public class BeginShapeTest9 extends PMIDlet {
|
||||
|
||||
void setup() {
|
||||
beginShape(POLYGON);
|
||||
vertex(20, 20);
|
||||
vertex(40, 20);
|
||||
vertex(40, 40);
|
||||
vertex(60, 40);
|
||||
vertex(60, 60);
|
||||
vertex(20, 60);
|
||||
endShape();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user