@ahmic/autoit-js
    Preparing search index...

    Class Rect

    Serves as a RECT struct compatible object.

    Implements

    Index

    Constructors

    Properties

    Constructors

    • Creates a new Rect object with the specified coordinates.

      Parameters

      • Optionalrect: Partial<IRect>

        The coordinates of the rectangle. All properties default to 0.

      Returns Rect

    Properties

    left: number

    The left coordinate of the rectangle. Can be used as the X coordinate of the window/control.

    top: number

    The top coordinate of the rectangle. Can be used as the Y coordinate of the window/control.

    right: number

    The right coordinate of the rectangle. Can be used as the width of the window/control.

    bottom: number

    The bottom coordinate of the rectangle. Can be used as the height of the window/control.