EarthSDK
    正在准备搜索索引...

    类型别名 ESJPointStyle

    点样式类型定义。 该类型描述了点的样式信息,包括大小、大小类型、颜色、材质和材质参数。

    type ESJPointStyle = {
        color: ESJColor;
        material: string;
        materialParams: JsonValue;
        outlineColor: ESJColor;
        outlineWidth: number;
        size: number;
        sizeType: ESJRenderType;
    }
    索引

    属性

    color: ESJColor

    点的颜色。 该属性使用 ESJColor 类型来指定点的颜色。

    material: string

    点的材质。 该字符串表示点所使用的材质名称。

    materialParams: JsonValue

    点材质的参数。 该属性使用 JsonValue 类型来表示点材质的参数,这些参数可以是任意可以序列化为 JSON 的值。

    outlineColor: ESJColor

    点的轮廓颜色。 该属性使用 ESJColor 类型来指定点的轮廓颜色。

    outlineWidth: number

    点的轮廓宽度。 该数值表示点的轮廓宽度。

    size: number

    点的大小。 该数值表示点的具体大小。

    sizeType: ESJRenderType

    点大小的类型。 该属性使用 ESJRenderType 类型来指定点大小的渲染类型。