Type Alias BoundingBox

BoundingBox: {
    angle: number;
    height: number;
    originX: number;
    originY: number;
    width: number;
}

Type declaration

  • angle: 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.

  • height: number

    The height of the bounding box, in pixels.

  • originX: number

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

  • originY: number

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

  • width: number

    The width of the bounding box, in pixels.