Interface WindowLocationDescription

Object representing window location used in window content object and UI.WindowLocation constructor.

interface WindowLocationDescription {
    forceScrollX?: boolean;
    forceScrollY?: boolean;
    globalScale?: boolean;
    height?: number;
    padding?: {
        bottom?: number;
        left?: number;
        right?: number;
        top?: number;
    };
    scrollX?: number;
    scrollY?: number;
    width?: number;
    x?: number;
    y?: number;
}

Hierarchy (view full)

Properties

forceScrollX?: boolean
forceScrollY?: boolean
globalScale?: boolean

Determines whether the interface needs to be resized based on its size or a global unit system should be used.

2.3.1b115

height?: number

Height of the window in units, by default calculated to match bottom screen bound.

padding?: {
    bottom?: number;
    left?: number;
    right?: number;
    top?: number;
}

Paddings are distances from the window bounds to the elements in the window.

scrollX?: number

Defines scrollable window size along the X axis.

scrollY?: number

Defines scrollable window size along the Y axis.

width?: number

Width of the window in units, by default calculated to match right screen bound.

x?: number

X coordinate of the window in units.

0
y?: number

Y coordinate of the window in units.

0

Copyright © 2024 Nernar. Copyright © 2020 #mineprogramming. Built with ❤ and TypeDoc.