Home
News
Learn
Download
Examples
Community
Login
Phaser API Documentation
Version:
Namespaces
Classes
Events
Game Objects
Physics
Scenes
Changelog
Member of:
Phaser.Geom.Polygon
points: Array.<
Phaser.Geom.Point
>
Description:
An array of number pair objects that make up this polygon. I.e. [ {x,y}, {x,y}, {x,y} ]
Type:
Array.<
Phaser.Geom.Point
>
Since:
3.0.0
Source:
src/geom/polygon/Polygon.js
(Line
61
)
Possible examples