@mocanvas/editor · interface
interface GetSvgAsImageOptionsOptions for getSvgAsImage.
Properties · 5
height: numberThe SVG's logical height in CSS pixels.
pixelRatio?: numberMultiplier on the output's pixel dimensions. Defaults to 2.
quality?: numberEncoder quality for the lossy formats, 0–1.
type?: Exclude<TLExportType, "svg">Output format. Defaults to "png".
width: numberThe SVG's logical width in CSS pixels.
Mentioned here
mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.