@@ -1958,12 +1958,20 @@ public void filter(PShader shader) {
19581958
19591959 // CLIPPING
19601960
1961- /*
1962- * @webref rendering:shaders
1963- * @param a x-coordinate of the rectangle by default
1964- * @param b y-coordinate of the rectangle by default
1965- * @param c width of the rectangle by default
1966- * @param d height of the rectangle by default
1961+ /**
1962+ * ( begin auto-generated from clip.xml )
1963+ *
1964+ * Limits the rendering to the boundaries of a rectangle defined
1965+ * by the parameters. The boundaries are drawn based on the state
1966+ * of the <b>imageMode()</b> fuction, either CORNER, CORNERS, or CENTER.
1967+ *
1968+ * ( end auto-generated )
1969+ *
1970+ * @webref rendering
1971+ * @param a x-coordinate of the rectangle, by default
1972+ * @param b y-coordinate of the rectangle, by default
1973+ * @param c width of the rectangle, by default
1974+ * @param d height of the rectangle, by default
19671975 */
19681976 public void clip (float a , float b , float c , float d ) {
19691977 if (imageMode == CORNER ) {
@@ -2002,8 +2010,14 @@ protected void clipImpl(float x1, float y1, float x2, float y2) {
20022010 showMissingWarning ("clip" );
20032011 }
20042012
2005- /*
2006- * @webref rendering:shaders
2013+ /**
2014+ * ( begin auto-generated from noClip.xml )
2015+ *
2016+ * Disables the clipping previously started by the <b>clip()</b> function.
2017+ *
2018+ * ( end auto-generated )
2019+ *
2020+ * @webref rendering
20072021 */
20082022 public void noClip () {
20092023 showMissingWarning ("noClip" );
0 commit comments