Pixen JavaScript API
    Preparing search index...

    Class Rect

    An integer-origin rectangle with positive dimensions.

    Index
    • Parameters

      • x: number
      • y: number
      • width: number
      • height: number

      Returns Rect

    x: number

    The horizontal coordinate of the rectangle origin.

    y: number

    The vertical coordinate of the rectangle origin.

    width: number

    The positive width in pixels.

    height: number

    The positive height in pixels.

    • A concise representation suitable for script logs.

      Returns string