Phaser API Documentation

  Version: 
syncStyle(canvas, context)

Description:

Synchronize the text style settings to the given Canvas Rendering Context.

Parameters:

name type description
canvas HTMLCanvasElement

The Canvas Element.

context CanvasRenderingContext2D

The Canvas Rendering Context.

Examples:
Since: 3.0.0