Interface PolylinesModuleOption

interface PolylinesModuleOption {
    data: PolylineItemData[];
    highlightStyle?: LineMaterialParameters;
    showVertex?: boolean;
    style?: LineMaterialParameters;
    vertexStyle?: SymbolMaterialProps & {
        pointBorderColor?: ColorRepresentation;
        pointColor?: ColorRepresentation;
        pointSize?: number;
    };
}

Properties

数据

highlightStyle?: LineMaterialParameters

高亮样式(高亮样式的线宽是指在原来的线宽上的变化值)

showVertex?: boolean

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

样式

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

顶点样式

Type declaration

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