Bounding box of an EEvision object. The bounding box can be obtained by calling EEvisionAPI.GetBBox.

Constructors

Properties

Accessors

Methods

Constructors

  • Create a bounding box from the coordinates of the top left and the bottom right corner.

    Parameters

    • left: number
    • top: number
    • right: number
    • bottom: number

    Returns BBox

Properties

bottom: number

Position of the bottom edge

left: number

Position of the left edge

right: number

Position of the right edge

top: number

Position of the top edge

Accessors

  • get centerX(): number
  • Return the horizontal center of the bounding box.

    Returns number

  • get centerY(): number
  • Return the vertical center of the bounding box.

    Returns number

  • get height(): number
  • Return the height of the bounding box.

    Returns number

  • get width(): number
  • Return the width of the bounding box.

    Returns number

Methods

  • Return a string representation of the bounding box.

    Returns string