Linetype

Defines a linetype (DXF Reference).

Subclass of ezdxf.entities.DXFEntity
DXF type 'LTYPE'
Factory function Drawing.linetypes.new()

See also

Tutorial for Linetypes

DXF Internals: LTYPE Table

class ezdxf.entities.Linetype
dxf.name

Linetype name (str).

dxf.owner

Handle to owner (Table).

dxf.description

Linetype description (str).

dxf.length

Total pattern length in drawing units (float).

dxf.items

Number of linetype elements (int).