PilotGaea 3D O'view
    正在準備搜尋索引...

    介面 AddTextEntityCommandParameter

    新增自畫文字圖素指令參數。

    interface AddTextEntityCommandParameter {
        geo: window.GeoJSON.Point | window.GeoJSON.Point[];
        borderColor?: window.ov.ColorLike;
        offset?: window.GeoJSON.Point | window.GeoJSON.Point[];
        color?: window.ov.Color;
        size?: number;
        absHeight?: boolean;
        epsg?: number;
        worldSize?: boolean;
        text?: null | string;
        font?: null | string;
        fontSize?: number;
        borderSize?: number;
        alignment?: TEXT_ALIGN;
        layerName: string;
        entityName: string;
    }

    層級 (查看層級一覽)

    索引

    屬性

    點幾何。

    borderColor?: window.ov.ColorLike

    文字邊框顏色。

    位移量。

    color?: window.ov.Color

    文字顏色。

    size?: number

    文字大小,世界座標時為公尺大小,否則為pixel大小。

    absHeight?: boolean

    是否為絕對高。

    epsg?: number

    幾何EPSG。

    worldSize?: boolean

    是否為世界座標

    text?: null | string

    文字。

    font?: null | string

    文字字體。

    fontSize?: number

    文字字體大小。

    borderSize?: number

    文字邊框大小。

    alignment?: TEXT_ALIGN

    標籤對齊方式

    layerName: string

    自畫圖層名稱

    entityName: string

    自畫圖素名稱