Interface PolylineItemData

interface PolylineItemData {
    color?: ColorRepresentation | ColorRepresentation[];
    coordinates: [number, number, number][];
    dashOffset?: number;
    dashScale?: number;
    dashSize?: number;
    dashed?: boolean;
    disableEdit?: boolean;
    gapSize?: number;
    hidden?: boolean;
    id?: string;
    lineWidth?: number;
    opacity?: number;
    showVertex?: boolean;
    [key: string]: any;
}

Indexable

[key: string]: any

自定义数据

Properties

color?: ColorRepresentation | ColorRepresentation[]

颜色

coordinates: [number, number, number][]

坐标

dashOffset?: number

虚线偏移量

dashScale?: number

虚线缩放量

dashSize?: number

虚线尺寸

dashed?: boolean

是否是虚线

disableEdit?: boolean

是否禁止编辑

gapSize?: number

间隙尺寸

hidden?: boolean

是否隐藏

id?: string

id

lineWidth?: number

线宽

opacity?: number

透明度

showVertex?: boolean

是否显示顶点