Home
News
Learn
Download
Examples
Community
Login
Phaser API Documentation
Version:
Namespaces
Classes
Events
Game Objects
Physics
Scenes
Changelog
Member of:
Phaser.GameObjects.Graphics
fillTriangleShape(triangle)
Description:
Fill the given triangle.
Parameters:
name
type
description
triangle
Phaser.Geom.Triangle
The triangle to fill.
Returns:
Description:
This Game Object.
Type:
Phaser.GameObjects.Graphics
Since:
3.0.0
Source:
src/gameobjects/graphics/Graphics.js
(Line
794
)
Possible examples