Optionaldxf: string | Uint8Array<ArrayBufferLike>OptionalincludeHiddenLayers: booleanOptionalstrokeWidth: numberOptionalmargin: numberOptionaltolerance: numberAn ASCII DXF file from R12 on, as text or bytes; older bytes not in UTF-8 are read in the header's code page, or as Windows-1252.
OptionalincludeWhen true, layers the file has switched off or frozen are written as well.
OptionalstrokeHow wide the lines are, in drawing units. Left out, a five-hundredth of the drawing's larger side.
OptionalmarginThe empty border around the drawing, in drawing units. Left out, a fortieth of the drawing's larger side.
OptionaltoleranceThe largest distance, in drawing units, between a curve SVG cannot draw exactly (a rational or higher degree spline) and the cubic curves that stand in for it.
A DXF file for
io.drawing.dxfToSvg, which reads it asio.dxf.dxfReaddoes and writes it asio.svg.svgCreatedoes, with the options of both.