BoundingBox interface

An integer bounding box, axis aligned.

Signature:

  export 
  
 declare 
  
 interface 
  
 BoundingBox 
  
 

Properties

Property Type Description
number Angle of rotation of the original non-rotated box around the top left corner of the original non-rotated box, in clockwise degrees from the horizontal.
number The height of the bounding box, in pixels.
number The X coordinate of the top-left corner, in pixels.
number The Y coordinate of the top-left corner, in pixels.
number The width of the bounding box, in pixels.

BoundingBox.angle

Angle of rotation of the original non-rotated box around the top left corner of the original non-rotated box, in clockwise degrees from the horizontal.

Signature:

  angle 
 : 
  
 number 
 ; 
 

BoundingBox.height

The height of the bounding box, in pixels.

Signature:

  height 
 : 
  
 number 
 ; 
 

BoundingBox.originX

The X coordinate of the top-left corner, in pixels.

Signature:

  originX 
 : 
  
 number 
 ; 
 

BoundingBox.originY

The Y coordinate of the top-left corner, in pixels.

Signature:

  originY 
 : 
  
 number 
 ; 
 

BoundingBox.width

The width of the bounding box, in pixels.

Signature:

  width 
 : 
  
 number 
 ; 
 
Design a Mobile Site
View Site in Mobile | Classic
Share by: