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