mirror of
https://github.com/processing/processing4.git
synced 2026-02-10 17:19:25 +01:00
20 lines
370 B
Java
Executable File
20 lines
370 B
Java
Executable File
package test;
|
|
import processing.core.*;
|
|
|
|
/**
|
|
*
|
|
* @author Francis Li
|
|
*/
|
|
public class StrokeWeightTest extends PMIDlet {
|
|
void setup() {
|
|
strokeWeight(1); // Default
|
|
line(20, 20, 80, 20);
|
|
|
|
strokeWeight(4); // Thicker
|
|
line(20, 40, 80, 40);
|
|
|
|
strokeWeight(10); // Beastly
|
|
line(20, 70, 80, 70);
|
|
}
|
|
}
|