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