Phaser API Documentation

  Version: 
<static> setBicubic(canvas)

Description:

Sets the CSS image-rendering property on the given canvas to be 'bicubic' (aka 'auto').

Parameters:

name type description
canvas HTMLCanvasElement

The canvas object to have the style set on.

Returns:
Description:

The canvas.

Type:
  • HTMLCanvasElement
Since: 3.0.0