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