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