Skip to content

common.RasterizeSVG

Syntax

common.RasterizeSVG(data, scale) → {rgba, width:int, height:int}

Parameters

data
The image data to decode.
scalenumber
Number to scale the image.

Returns

Returns {rgba, width:int, height:int}.

Appears in: SVG Drawing