Bitbybit Docs
    Preparing search index...

    Class SvgModelDto (Inputs.IO)

    A whole SVG drawing for io.svg.svgCreate: its path parts by layer, color and line type, the unit that gives it its true size, and how wide the lines and the border are.

    Index

    Constructors

    Properties

    The parts of the drawing; each layer becomes a group that Inkscape reads as a layer.

    undefined
    

    The unit the drawing is in, which gives the file its true width and height. Left out, the file states no size and viewers fit it to the window.

    undefined
    

    true

    strokeWidth?: number

    How wide the lines are, in drawing units. Left out, a five-hundredth of the drawing's larger side.

    undefined
    

    true

    0

    true

    margin?: number

    The empty border around the drawing, in drawing units. Left out, a fortieth of the drawing's larger side.

    undefined
    

    true

    0

    tolerance?: number

    The 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.

    0.01
    

    0

    true