mirror of
https://github.com/processing/processing4.git
synced 2026-02-11 01:29:17 +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:
17
core/test/RectModeTest.java
Executable file
17
core/test/RectModeTest.java
Executable file
@@ -0,0 +1,17 @@
|
||||
package test;
|
||||
import processing.core.*;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Francis Li
|
||||
*/
|
||||
public class RectModeTest extends PMIDlet {
|
||||
|
||||
void setup() {
|
||||
rectMode(CENTER_DIAMETER);
|
||||
rect(35, 35, 50, 50);
|
||||
rectMode(CORNER);
|
||||
fill(102);
|
||||
rect(35, 35, 50, 50);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user