mirror of
https://github.com/processing/processing4.git
synced 2026-02-10 17:19:25 +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:
18
core/test/BeginShapeTest4.java
Executable file
18
core/test/BeginShapeTest4.java
Executable file
@@ -0,0 +1,18 @@
|
||||
package test;
|
||||
import processing.core.*;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Francis Li
|
||||
*/
|
||||
public class BeginShapeTest4 extends PMIDlet {
|
||||
|
||||
void setup() {
|
||||
beginShape(LINE_LOOP);
|
||||
vertex(30, 20);
|
||||
vertex(85, 20);
|
||||
vertex(85, 75);
|
||||
vertex(30, 75);
|
||||
endShape();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user