Skip to content

Commit d4aec1a

Browse files
committed
adding note about cumulative mask property to mask closes #5012
1 parent 85dc5a0 commit d4aec1a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/image/p5.Image.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -603,7 +603,8 @@ p5.Image.prototype.copy = function(...args) {
603603
/**
604604
* Masks part of an image from displaying by loading another
605605
* image and using its alpha channel as an alpha channel for
606-
* this image.
606+
* this image. Masks are cumulative, one applied to an image
607+
* object, they cannot be removed.
607608
*
608609
* @method mask
609610
* @param {p5.Image} srcImage source image

0 commit comments

Comments
 (0)