Interface FillExtrusionItemData

interface FillExtrusionItemData {
    baseHeight?: boolean;
    borderColor?: ColorRepresentation;
    borderColor2?: ColorRepresentation;
    color?: ColorRepresentation;
    color2?: ColorRepresentation;
    coordinates: [number, number][] | [number, number][][];
    extrude?: ExtrudeGeometryOptions;
    hidden?: boolean;
    id?: string;
    opacity?: number;
    showBorder?: boolean;
    showVertex?: boolean;
    [key: string]: any;
}

Indexable

[key: string]: any

自定义数据

Properties

baseHeight?: boolean

基准高

borderColor?: ColorRepresentation

边框线颜色

borderColor2?: ColorRepresentation

边框颜色2 顶部的线颜色。默认和底部边框线颜色一样

color?: ColorRepresentation

颜色

color2?: ColorRepresentation

颜色2 顶部的颜色。默认和底部color一样

coordinates: [number, number][] | [number, number][][]

坐标

extrude?: ExtrudeGeometryOptions

拉伸参数

hidden?: boolean

是否隐藏

id?: string

id

opacity?: number

透明度(0-1)

showBorder?: boolean

是否显示边框

showVertex?: boolean

是否显示顶点