Skip to content

Commit d743493

Browse files
authored
Merge pull request #3098 from draganczukp/master
Modified documentation for global `get()` function
2 parents ee553b4 + ad79342 commit d743493

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/image/pixels.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -441,6 +441,9 @@ p5.prototype.filter = function(operation, value) {
441441
* <br><br>
442442
* See the reference for <a href="#/p5/pixels">pixels[]</a> for more information.
443443
*
444+
* If you want to extract an array of colors or a subimage from an p5.Image object,
445+
* take a look at <a href="#/p5.Image/get">p5.Image.get()</a>
446+
*
444447
* @method get
445448
* @param {Number} [x] x-coordinate of the pixel
446449
* @param {Number} [y] y-coordinate of the pixel

0 commit comments

Comments
 (0)