AboutSupportDeveloper GuideVersion 39.125.81.6

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

Default Value

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

  • Optional bottom?: boolean

    Default Value

    true

    Enables resizing from the bottom of the window.
  • Optional left?: boolean

    Default Value

    true

    Enables resizing from the left side of the window.
  • Optional right?: boolean

    Default Value

    true

    Enables resizing from the right side of the window.
  • Optional top?: boolean

    Default Value

    true

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

Default Value

7

The size of the resize region in pixels.