Skip to content

Commit b5f2e0a

Browse files
committed
Updated documentation. Fix phaserjs#5406
1 parent e7f0c1e commit b5f2e0a

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/display/mask/GeometryMask.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ var GeometryMask = new Class({
5151
* Similar to the BitmapMasks invertAlpha setting this to true will then hide all pixels
5252
* drawn to the Geometry Mask.
5353
*
54+
* This is a WebGL only feature.
55+
*
5456
* @name Phaser.Display.Masks.GeometryMask#invertAlpha
5557
* @type {boolean}
5658
* @since 3.16.0
@@ -97,8 +99,11 @@ var GeometryMask = new Class({
9799

98100
/**
99101
* Sets the `invertAlpha` property of this Geometry Mask.
102+
*
100103
* Inverting the alpha essentially flips the way the mask works.
101104
*
105+
* This is a WebGL only feature.
106+
*
102107
* @method Phaser.Display.Masks.GeometryMask#setInvertAlpha
103108
* @since 3.17.0
104109
*

0 commit comments

Comments
 (0)