Bitbybit Docs
    Preparing search index...

    Class DxfPathsPartDto (Inputs.IO)

    A part of a drawing: paths on one layer with one color and one line type, under its former DXF name.

    Use DrawingPartDto, the same DTO under the drawing's own name; this one is removed in the next major version.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    layer?: string

    The layer the paths go on. Parts may share a layer, which takes the first part's color and line type; every part's paths keep their own.

    Default
    
    color?: string

    The color of every path in the part, as a hex string such as #000000.

    #000000
    

    The paths of the part, each a run of segments.

    undefined
    
    lineType?: lineTypeEnum

    Whether the lines are whole or dashed, such as hidden for edges a view cannot see.

    continuous
    
    lineWeight?: number

    How wide the part's lines and text strokes are, in drawing units. Left out, the writer's own width is used: the drawing's strokeWidth in SVG, the layer's in DXF.

    undefined
    

    true

    0

    true

    texts?: DrawingTextDto[]

    Lines of text on the part's layer, in its color.

    undefined
    

    true

    hatches?: DrawingHatchDto[]

    Hatched regions on the part's layer, in its color.

    undefined
    

    true