Line style

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

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.

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

Indicates how the style is determined for this entity.

  • ByLayer: The style is inherited from the layer the entity belongs to.
  • ByBlock: The style is inherited from the block reference containing the entity.
  • UserSpecified: The style is explicitly defined on the entity itself.