MCPcopy Index your code
hub / github.com/phaserjs/phaser / createGeometryMask

Method createGeometryMask

types/phaser.d.ts:19576–19576  ·  view source on GitHub ↗

* Creates and returns a Geometry Mask. This mask can be used by any Game Object, * including this one. * * To create the mask you need to pass in a reference to a Graphics Game Object. * * If you do not provide a

(graphics?: Phaser.GameObjects.Graphics | Phaser.GameObjects.Shape)

Source from the content-addressed store, hash-verified

19574 * @returns This Geometry Mask that was created.
19575 */
19576 createGeometryMask<G extends Phaser.GameObjects.Graphics, S extends Phaser.GameObjects.Shape>(graphics?: Phaser.GameObjects.Graphics | Phaser.GameObjects.Shape): Phaser.Display.Masks.GeometryMask;
19577 }
19578
19579 /**

Callers 1

Mask.test.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected