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

    介面 ParameterBase

    UI設定參數

    interface ParameterBase {
        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 位置