Skip to content

Commit

Permalink
adding note about cumulative mask property to mask closes #5012
Browse files Browse the repository at this point in the history
  • Loading branch information
lmccart committed Mar 10, 2021
1 parent 85dc5a0 commit d4aec1a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/image/p5.Image.js
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,8 @@ p5.Image.prototype.copy = function(...args) {
/**
* Masks part of an image from displaying by loading another
* image and using its alpha channel as an alpha channel for
* this image.
* this image. Masks are cumulative, one applied to an image
* object, they cannot be removed.
*
* @method mask
* @param {p5.Image} srcImage source image
Expand Down

0 comments on commit d4aec1a

Please sign in to comment.