AboutSupportDeveloper GuideVersion 41.132.100.57

Defines a region in pixels that will respond to user mouse interaction for resizing a frameless window.

interface ResizeRegion {
    bottomRightCorner?: number;
    sides?: {
        bottom?: boolean;
        left?: boolean;
        right?: boolean;
        top?: boolean;
    };
    size?: number;
}

Properties

bottomRightCorner?: number
9

The size in pixels of an additional square resizable region located at the bottom right corner of a frameless window.
sides?: {
    bottom?: boolean;
    left?: boolean;
    right?: boolean;
    top?: boolean;
}

Enables resizing interaction for each side of the window.

Type declaration

  • Optionalbottom?: boolean
    true

    Enables resizing from the bottom of the window.
  • Optionalleft?: boolean
    true

    Enables resizing from the left side of the window.
  • Optionalright?: boolean
    true

    Enables resizing from the right side of the window.
  • Optionaltop?: boolean
    true

    Enables resizing from the top of the window.
size?: number
7

The size of the resize region in pixels.