Interface GlLinesModuleOption

interface GlLinesModuleOption {
    dashed?: boolean;
    data: GlLineItemData[];
    hidden?: boolean;
    highlightStyle?: LineBasicMaterialParameters | LineDashedMaterialParameters;
    showVertex?: boolean;
    style?: LineBasicMaterialParameters | LineDashedMaterialParameters;
    vertexStyle?: SymbolMaterialProps & {
        pointBorderColor?: ColorRepresentation;
        pointColor?: ColorRepresentation;
        pointSize?: number;
    };
}

Properties

dashed?: boolean

是否使用虚线

数据

hidden?: boolean

是否隐藏

highlightStyle?: LineBasicMaterialParameters | LineDashedMaterialParameters

高亮样式

showVertex?: boolean

是否显示顶点(全局控制显示)

style?: LineBasicMaterialParameters | LineDashedMaterialParameters

样式

vertexStyle?: SymbolMaterialProps & {
    pointBorderColor?: ColorRepresentation;
    pointColor?: ColorRepresentation;
    pointSize?: number;
}

顶点样式

Type declaration

  • Optional pointBorderColor?: ColorRepresentation
  • Optional pointColor?: ColorRepresentation
  • Optional pointSize?: number