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

    介面 ParameterBase

    UI設定參數

    interface ParameterBase {
        x?: number;
        y?: number;
        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 位置

    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

    關閉時的回呼事件