Canvas.getSmoothingPrefix()

<static> getSmoothingPrefix(context) → {string | null}

Gets the Smoothing Enabled vendor prefix being used on the given context, or null if not set.

Parameters
Name Type Description
context CanvasRenderingContext2D

The context to enable or disable the image smoothing on.

Returns
string | null -

Returns the smoothingEnabled vendor prefix, or null if not set on the context.

Source code: utils/Canvas.js (Line 217)
doc_phaser
2017-02-14 10:41:03
Comments
Leave a Comment

Please login to continue.