Home
News
Learn
Download
Examples
Community
Plugins
Phaser API Documentation
Version:
Namespaces
Classes
Events
Game Objects
Physics
Scenes
Changelog
Member of:
Phaser.Display.Color
clone()
Description:
Returns a new Color component using the values from this one.
Returns:
Description:
A new Color object.
Type:
Phaser.Display.Color
Since:
3.0.0
Source:
src/display/color/Color.js
(Line
359
)
Possible examples