Line style

interface AcGiLineStyle {
    arrows?: AcGiLineArrowStyle;
    color: number;
    description: string;
    name: string;
    pattern?: AcGiLineTypePatternElement[];
    standardFlag: number;
    totalPatternLength: number;
}

Hierarchy (View Summary)

Properties

Arrow style of arrows at the start point and end point of one line. If it is undefined, no arrow style applied at the start and end points.

color: number

Line color

description: string

Line type description

name: string

Line type name

Line type pattern

standardFlag: number

Standard flag values (bit-coded values):

  • 16 = If set, table entry is externally dependent on an xref
  • 32 = If both this bit and bit 16 are set, the externally dependent xref has been successfully resolved
  • 64 = If set, the table entry was referenced by at least one entity in the drawing the last time the drawing was edited. (This flag is for the benefit of AutoCAD commands. It can be ignored by most programs that read DXF files and need not be set by programs that write DXF files)
totalPatternLength: number

Total pattern length