Phaser API Documentation

  Version: 
syncFont(canvas, context)

Description:

Synchronize the font settings to the given Canvas Rendering Context.

Parameters:

name type description
canvas HTMLCanvasElement

The Canvas Element.

context CanvasRenderingContext2D

The Canvas Rendering Context.

Since: 3.0.0