W-CF Documentation - v11.0.0
Preparing search index...
utils/image/ImageUtils
resizeToCanvas
Function resizeToCanvas
resizeToCanvas
(
pImage
:
HTMLImageElement
,
pOptions
:
ResizeOptions
,
)
:
HTMLCanvasElement
Resizes the given image according to the resize options and returns it as a canvas.
Parameters
pImage
:
HTMLImageElement
pOptions
:
ResizeOptions
Returns
HTMLCanvasElement
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
W-CF Documentation - v11.0.0
Loading...
Resizes the given image according to the resize options and returns it as a canvas.