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

    介面 WindowUIParameter

    Window UI設定參數

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

    層級 (查看層級一覽)

    索引

    屬性

    closeButton?: boolean

    是否有關閉按鈕

    height?: number

    UI 的高

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

    鎖點的橫位置

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

    鎖點的縱位置

    minimizeButton?: boolean

    是否有最小化按鈕

    offsetX?: number

    UI 的偏移 x 位置

    offsetY?: number

    UI 的偏移 y 位置

    onClose?: () => void

    關閉時的回呼事件

    title?: string

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

    width?: number

    UI 的寬

    x?: number

    UI的起始x位置,註:位置為螢幕位置

    y?: number

    UI的起始y位置,註:位置為螢幕位置