Navigation
These archived docs are for Phaser 2.4.2 Phaser 3 docs can be found on newdocs.phaser.io.
Phaser CE docs can be found on the Phaser CE Documentation site.

Constructor

PIXI. PolyK

new PolyK()

Based on the Polyk library http://polyk.ivank.net released under MIT licence. This is an amazing lib! Slightly modified by Mat Groves (matgroves.com);

Source code: pixi/utils/Polyk.js (Line 34)

Public Methods

Triangulate()

Triangulates shapes for webGL graphic fills.

Source code: pixi/utils/Polyk.js (Line 42)