Phaser API
Namespaces
Phaser
PIXI
Classes
EarCut
Event
EventTarget
Animation
AnimationManager
AnimationParser
ArraySet
ArrayUtils
AudioSprite
BitmapData
BitmapText
Bullet
Button
Cache
Camera
Canvas
CanvasPool
Circle
Color
Angle
Animation
AutoCull
Bounds
BringToTop
Core
Crop
Delta
Destroy
FixedToCamera
Health
InCamera
InputEnabled
InWorld
LifeSpan
LoadTexture
Overlap
PhysicsBody
Reset
ScaleMinMax
Smoothed
Create
Creature
Device
DeviceButton
DOM
Easing
Back
Bounce
Circular
Cubic
Elastic
Exponential
Linear
Quadratic
Quartic
Quintic
Sinusoidal
Ellipse
Events
Filter
FlexGrid
FlexLayer
Frame
FrameData
Game
GameObjectCreator
GameObjectFactory
Gamepad
Graphics
Group
Hermite
Image
ImageCollection
Input
InputHandler
Key
Keyboard
KeyCode
Line
LinkedList
Loader
LoaderParser
Math
Matrix
Mouse
MSPointer
Net
Particle
Particles
Arcade
Emitter
Path
PathFollower
PathPoint
Physics
Arcade
Body
TilemapCollision
Ninja
AABB
Body
Circle
Tile
P2
Body
BodyDebug
CollisionGroup
ContactMaterial
DistanceConstraint
FixtureList
GearConstraint
InversePointProxy
LockConstraint
Material
PointProxy
PrismaticConstraint
RevoluteConstraint
RotationalSpring
Spring
Plugin
PathManager
PluginManager
Point
Pointer
PointerMode
Polygon
QuadTree
RandomDataGenerator
Rectangle
RenderTexture
RequestAnimationFrame
RetroFont
Rope
RoundedRectangle
ScaleManager
Signal
SignalBinding
SinglePad
Sound
SoundManager
Sprite
SpriteBatch
Stage
State
StateManager
Text
Tile
Tilemap
TilemapLayer
TilemapParser
Tileset
TileSprite
Time
Timer
TimerEvent
Touch
Tween
TweenData
TweenManager
Utils
Debug
Video
Weapon
World
BaseTexture
CanvasBuffer
CanvasGraphics
CanvasMaskManager
CanvasRenderer
CanvasTinter
ComplexPrimitiveShader
DisplayObject
DisplayObjectContainer
FilterTexture
Phaser.GraphicsData
PIXI
PixiFastShader
PixiShader
PrimitiveShader
Sprite
StripShader
Texture
WebGLBlendModeManager
WebGLFastSpriteBatch
WebGLFilterManager
WebGLRenderer
Global
ANGLE_DOWN
ANGLE_LEFT
ANGLE_NORTH_EAST
ANGLE_NORTH_WEST
ANGLE_RIGHT
ANGLE_SOUTH_EAST
ANGLE_SOUTH_WEST
ANGLE_UP
arc
AUTO
beginFill
bezierCurveTo
BITMAPDATA
BITMAPTEXT
blendModes
BOTTOM_CENTER
BOTTOM_LEFT
BOTTOM_RIGHT
BUTTON
CANVAS
CANVAS_FILTER
CENTER
CIRCLE
clear
CREATURE
destroyCachedSprite
displayList
DOWN
drawCircle
drawEllipse
drawPolygon
drawRect
drawRoundedRect
drawShape
ELLIPSE
emit
EMITTER
endFill
GAMES
generateTexture
getBounds
getLocalBounds
GRAPHICS
GROUP
HEADLESS
HORIZONTAL
IMAGE
LANDSCAPE
LEFT
LEFT_BOTTOM
LEFT_CENTER
LEFT_TOP
LINE
lineStyle
lineTo
listeners
MATRIX
mixin
moveTo
NONE
off
on
once
PENDING_ATLAS
Phaser.Path#numPoints return {number} The total number of PathPoints in this Path.
POINT
POINTER
POLYGON
PORTRAIT
quadraticCurveTo
RECTANGLE
removeAllListeners
RENDERTEXTURE
RETROFONT
RIGHT
RIGHT_BOTTOM
RIGHT_CENTER
RIGHT_TOP
ROPE
ROUNDEDRECTANGLE
scaleModes
SPRITE
SPRITEBATCH
stopImmediatePropagation
stopPropagation
TEXT
TILEMAP
TILEMAPLAYER
TILESPRITE
TOP_CENTER
TOP_LEFT
TOP_RIGHT
UP
updateLocalBounds
VERSION
VERTICAL
VIDEO
WEBGL
WEBGL_FILTER
WEBGL_MULTI
Core
Game
Group
World
Loader
Cache
Time
Camera
State Manager
Tween Manager
Sound Manager
Input Manager
Scale Manager
Game Objects
Factory (game.add)
Creator (game.make)
Sprite
Image
Sound
Video
Particle Emitter
Particle
Text
Tween
BitmapText
Tilemap
BitmapData
RetroFont
Button
Animation
Graphics
RenderTexture
TileSprite
Geometry
Circle
Ellipse
Line
Matrix
Point
Polygon
Rectangle
Rounded Rectangle
Physics
Arcade Physics
Body
Weapon
P2 Physics
Body
Spring
CollisionGroup
ContactMaterial
Ninja Physics
Body
Input
Input Handler
Pointer
Device Button
Mouse
Keyboard
Key
Key Codes
Gamepad
Community
Phaser Web Site
Phaser Github
Phaser Examples
Phaser Plugins
Forum
Stack Overflow
Tutorials
Newsletter
Twitter
Slack
Donate
Texture Packer
EarCut
new EarCut
()
Source -
utils/EarCut.js
,
line 22