Skip to content

SVG.ToImage

Name Mandatory Description Default Type
⬅️ Input The input of the shard, if any StringBytes
Output ➡️ The resulting output of the shard Image
Size No The desired output size, if (0, 0) will default to the size defined in the svg data. none Int2Var(Int2)None
Offset No A positive x and y value offsets towards the right and the bottom of the screen respectively. (0.0, 0.0) by default. none NoneFloat2Var(Float2)
Padding No Pixels of padding to add none Int2

Converts an SVG string or bytes to an image.