WebCAD-Lib-TS API 文档 - v1.0.0
    Preparing search index...

    Interface LayerAddedEventArgs

    图层已添加事件参数

    interface LayerAddedEventArgs {
        timestamp: number;
        customData?: any;
        document: CadDocument;
        layer: Layer;
    }

    Hierarchy (View Summary)

    Index

    Properties

    timestamp: number

    事件发生的时间戳

    customData?: any

    自定义数据,二次开发者可以附加额外信息

    document: CadDocument

    所属文档

    layer: Layer

    已添加的图层