<static> setImageRenderingBicubic(canvas) → {HTMLCanvasElement}
Sets the CSS image-rendering property on the given canvas to be 'bicubic' (aka 'auto').
Note that if this doesn't given the desired result then see the CanvasUtils.setSmoothingEnabled method.
Parameters
Name | Type | Description |
---|---|---|
canvas | HTMLCanvasElement | The canvas to set image-rendering bicubic on. |
Returns
HTMLCanvasElement -
Returns the source canvas.
- Source code: utils/Canvas.js (Line 283)
Please login to continue.