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

    介面 BubbleUIParameter

    氣泡UI設定參數

    interface BubbleUIParameter {
        x?: number;
        y?: number;
        z?: number;
        arrowColor?: string;
        absHeight?: boolean;
        width?: number;
        height?: number;
        lockPointHorizontal?: "left" | "right" | "middle";
        lockPointVertical?: "bottom" | "top" | "middle";
        offsetX?: number;
        offsetY?: number;
        title?: string;
        closeButton?: boolean;
        minimizeButton?: boolean;
        onClose?: () => void;
    }

    層級 (查看層級一覽)

    索引

    屬性

    x?: number

    氣泡UI的起始x位置,註:這裡位置是地圖的位置

    y?: number

    氣泡UI的起始y位置,註:這裡位置是地圖的位置

    z?: number

    氣泡UI的起始z位置(相對高度),註:這裡位置是地圖的位置

    arrowColor?: string

    箭頭的顏色

    absHeight?: boolean

    是否為絕對高

    width?: number

    UI 的寬

    height?: number

    UI 的高

    lockPointHorizontal?: "left" | "right" | "middle"

    鎖點的橫位置

    lockPointVertical?: "bottom" | "top" | "middle"

    鎖點的縱位置

    offsetX?: number

    UI 的偏移 x 位置

    offsetY?: number

    UI 的偏移 y 位置

    title?: string

    標題的內容文字,若沒有設置則不會出現標題

    closeButton?: boolean

    是否有關閉按鈕

    minimizeButton?: boolean

    是否有最小化按鈕

    onClose?: () => void

    關閉時的回呼事件