Represents a DXF layer definition.

interface ILayer {
    color: number;
    colorIndex: number;
    frozen: boolean;
    name: string;
    visible: boolean;
}

Properties

color: number

Color value (RGB integer).

colorIndex: number

Color index associated with the layer.

frozen: boolean

Whether the layer is frozen (not displayed).

name: string

Layer name.

visible: boolean

Whether the layer is visible.