Optionallayers: SvgLayerDto<T>[]Optionalunit: unitOfLengthEnumOptionalstrokeWidth: numberOptionalmargin: numberOptionaltolerance: numberOptionalfileName: stringOptionaltryDownload: booleanThe layers from io.svgLayer; each becomes a group Inkscape reads as a layer.
OptionalunitThe unit the shapes are modelled in, which gives the file its true width and height. Left out, the file states no size and viewers fit it to the window.
OptionalstrokeHow wide the lines are, in model units. Left out, a five-hundredth of the drawing's larger side.
OptionalmarginThe empty border around the drawing, in model units. Left out, a fortieth of the drawing's larger side.
OptionaltoleranceThe largest distance, in model units, between a curve SVG cannot draw exactly and the cubic curves that stand in for it.
OptionalfileThe name the downloaded file gets.
OptionaltryWhen true, a browser download of the file is started where that is possible; the kernel itself only returns the text.
Layers of shapes and file options for
io.svgCreate, which draws them into one SVG file.