Skip to content

Commit b85b335

Browse files
authored
Merge pull request #4078 from J-888/master
Added more functions to the push and pop documentation
2 parents 565f30c + 60799e5 commit b85b335

File tree

1 file changed

+52
-8
lines changed

1 file changed

+52
-8
lines changed

src/core/structure.js

Lines changed: 52 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -127,10 +127,32 @@ p5.prototype.loop = function() {
127127
* more control. (See the second example for a demonstration.)
128128
* <br><br>
129129
* <a href="#/p5/push">push()</a> stores information related to the current transformation state
130-
* and style settings controlled by the following functions: <a href="#/p5/fill">fill()</a>,
131-
* <a href="#/p5/stroke">stroke()</a>, <a href="#/p5/tint">tint()</a>, <a href="#/p5/strokeWeight">strokeWeight()</a>, <a href="#/p5/strokeCap">strokeCap()</a>, <a href="#/p5/strokeJoin">strokeJoin()</a>,
132-
* <a href="#/p5/imageMode">imageMode()</a>, <a href="#/p5/rectMode">rectMode()</a>, <a href="#/p5/ellipseMode">ellipseMode()</a>, <a href="#/p5/colorMode">colorMode()</a>, <a href="#/p5/textAlign">textAlign()</a>,
133-
* <a href="#/p5/textFont">textFont()</a>, <a href="#/p5/textSize">textSize()</a>, <a href="#/p5/textLeading">textLeading()</a>, <a href="#/p5/translate">translate()</a>, <a href="#/p5/scale">scale()</a>, <a href="#/p5/rotate">rotate()</a>.
130+
* and style settings controlled by the following functions:
131+
* <a href="#/p5/fill">fill()</a>,
132+
* <a href="#/p5/noFill">noFill()</a>,
133+
* <a href="#/p5/noStroke">noStroke()</a>,
134+
* <a href="#/p5/stroke">stroke()</a>,
135+
* <a href="#/p5/tint">tint()</a>,
136+
* <a href="#/p5/noTint">noTint()</a>,
137+
* <a href="#/p5/strokeWeight">strokeWeight()</a>,
138+
* <a href="#/p5/strokeCap">strokeCap()</a>,
139+
* <a href="#/p5/strokeJoin">strokeJoin()</a>,
140+
* <a href="#/p5/imageMode">imageMode()</a>,
141+
* <a href="#/p5/rectMode">rectMode()</a>,
142+
* <a href="#/p5/ellipseMode">ellipseMode()</a>,
143+
* <a href="#/p5/colorMode">colorMode()</a>,
144+
* <a href="#/p5/textAlign">textAlign()</a>,
145+
* <a href="#/p5/textFont">textFont()</a>,
146+
* <a href="#/p5/textSize">textSize()</a>,
147+
* <a href="#/p5/textLeading">textLeading()</a>,
148+
* <a href="#/p5/applyMatrix">applyMatrix()</a>,
149+
* <a href="#/p5/resetMatrix">resetMatrix()</a>,
150+
* <a href="#/p5/rotate">rotate()</a>,
151+
* <a href="#/p5/scale">scale()</a>,
152+
* <a href="#/p5/shearX">shearX()</a>,
153+
* <a href="#/p5/shearY">shearY()</a>,
154+
* <a href="#/p5/translate">translate()</a>,
155+
* <a href="#/p5/noiseSeed">noiseSeed()</a>.
134156
* <br><br>
135157
* In WEBGL mode additional style settings are stored. These are controlled by the following functions: <a href="#/p5/setCamera">setCamera()</a>, <a href="#/p5/ambientLight">ambientLight()</a>, <a href="#/p5/directionalLight">directionalLight()</a>,
136158
* <a href="#/p5/pointLight">pointLight()</a>, <a href="#/p5/texture">texture()</a>, <a href="#/p5/specularMaterial">specularMaterial()</a>, <a href="#/p5/shininess">shininess()</a>, <a href="#/p5/normalMaterial">normalMaterial()</a>
@@ -196,10 +218,32 @@ p5.prototype.push = function() {
196218
* more control. (See the second example for a demonstration.)
197219
* <br><br>
198220
* <a href="#/p5/push">push()</a> stores information related to the current transformation state
199-
* and style settings controlled by the following functions: <a href="#/p5/fill">fill()</a>,
200-
* <a href="#/p5/stroke">stroke()</a>, <a href="#/p5/tint">tint()</a>, <a href="#/p5/strokeWeight">strokeWeight()</a>, <a href="#/p5/strokeCap">strokeCap()</a>, <a href="#/p5/strokeJoin">strokeJoin()</a>,
201-
* <a href="#/p5/imageMode">imageMode()</a>, <a href="#/p5/rectMode">rectMode()</a>, <a href="#/p5/ellipseMode">ellipseMode()</a>, <a href="#/p5/colorMode">colorMode()</a>, <a href="#/p5/textAlign">textAlign()</a>,
202-
* <a href="#/p5/textFont">textFont()</a>, <a href="#/p5/textSize">textSize()</a>, <a href="#/p5/textLeading">textLeading()</a>, <a href="#/p5/translate">translate()</a>, <a href="#/p5/scale">scale()</a>, <a href="#/p5/rotate">rotate()</a>.
221+
* and style settings controlled by the following functions:
222+
* <a href="#/p5/fill">fill()</a>,
223+
* <a href="#/p5/noFill">noFill()</a>,
224+
* <a href="#/p5/noStroke">noStroke()</a>,
225+
* <a href="#/p5/stroke">stroke()</a>,
226+
* <a href="#/p5/tint">tint()</a>,
227+
* <a href="#/p5/noTint">noTint()</a>,
228+
* <a href="#/p5/strokeWeight">strokeWeight()</a>,
229+
* <a href="#/p5/strokeCap">strokeCap()</a>,
230+
* <a href="#/p5/strokeJoin">strokeJoin()</a>,
231+
* <a href="#/p5/imageMode">imageMode()</a>,
232+
* <a href="#/p5/rectMode">rectMode()</a>,
233+
* <a href="#/p5/ellipseMode">ellipseMode()</a>,
234+
* <a href="#/p5/colorMode">colorMode()</a>,
235+
* <a href="#/p5/textAlign">textAlign()</a>,
236+
* <a href="#/p5/textFont">textFont()</a>,
237+
* <a href="#/p5/textSize">textSize()</a>,
238+
* <a href="#/p5/textLeading">textLeading()</a>,
239+
* <a href="#/p5/applyMatrix">applyMatrix()</a>,
240+
* <a href="#/p5/resetMatrix">resetMatrix()</a>,
241+
* <a href="#/p5/rotate">rotate()</a>,
242+
* <a href="#/p5/scale">scale()</a>,
243+
* <a href="#/p5/shearX">shearX()</a>,
244+
* <a href="#/p5/shearY">shearY()</a>,
245+
* <a href="#/p5/translate">translate()</a>,
246+
* <a href="#/p5/noiseSeed">noiseSeed()</a>.
203247
* <br><br>
204248
* In WEBGL mode additional style settings are stored. These are controlled by the following functions: <a href="#/p5/setCamera">setCamera()</a>, <a href="#/p5/ambientLight">ambientLight()</a>, <a href="#/p5/directionalLight">directionalLight()</a>,
205249
* <a href="#/p5/pointLight">pointLight()</a>, <a href="#/p5/texture">texture()</a>, <a href="#/p5/specularMaterial">specularMaterial()</a>, <a href="#/p5/shininess">shininess()</a>, <a href="#/p5/normalMaterial">normalMaterial()</a>

0 commit comments

Comments
 (0)