mirror of
https://github.com/processing/processing4.git
synced 2026-02-13 02:20:45 +01:00
Setting anti-aliasing level with smooth()
This commit is contained in:
@@ -10713,6 +10713,12 @@ public class PApplet extends Applet
|
||||
}
|
||||
|
||||
|
||||
public void smooth(int level) {
|
||||
if (recorder != null) recorder.smooth(level);
|
||||
g.smooth(level);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* ( begin auto-generated from noSmooth.xml )
|
||||
*
|
||||
|
||||
@@ -2964,6 +2964,10 @@ public class PGraphics extends PImage implements PConstants {
|
||||
smooth = true;
|
||||
}
|
||||
|
||||
public void smooth(int level) {
|
||||
smooth = true;
|
||||
}
|
||||
|
||||
/**
|
||||
* ( begin auto-generated from noSmooth.xml )
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user