mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
beginContour/endContour added to PGraphics and PApplet
This commit is contained in:
@@ -9881,6 +9881,18 @@ public class PApplet extends Applet
|
||||
}
|
||||
|
||||
|
||||
public void beginContour() {
|
||||
if (recorder != null) recorder.beginContour();
|
||||
g.beginContour();
|
||||
}
|
||||
|
||||
|
||||
public void endContour() {
|
||||
if (recorder != null) recorder.endContour();
|
||||
g.endContour();
|
||||
}
|
||||
|
||||
|
||||
public void endShape() {
|
||||
if (recorder != null) recorder.endShape();
|
||||
g.endShape();
|
||||
|
||||
@@ -1381,7 +1381,17 @@ public class PGraphics extends PImage implements PConstants {
|
||||
"or shapes with holes.");
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void beginContour() {
|
||||
showMissingWarning("beginContour");
|
||||
}
|
||||
|
||||
|
||||
public void endContour() {
|
||||
showMissingWarning("endContour");
|
||||
}
|
||||
|
||||
|
||||
public void endShape() {
|
||||
endShape(OPEN);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user