gameforge - v0.1.12
    Preparing search index...

    Class BoundingBox

    A rectangular bounding box describing the boundary of an area.

    PIXI.utils

    7.1.0

    Index

    Constructors

    Properties

    Accessors

    Methods

    Constructors

    • Parameters

      • left: number

        The left coordinate value of the bounding box.

      • top: number

        The top coordinate value of the bounding box.

      • right: number

        The right coordinate value of the bounding box.

      • bottom: number

        The bottom coordinate value of the bounding box.

      Returns BoundingBox

    Properties

    bottom: number

    The bottom coordinate value of the bounding box.

    left: number

    The left coordinate value of the bounding box.

    right: number

    The right coordinate value of the bounding box.

    top: number

    The top coordinate value of the bounding box.

    An empty BoundingBox.

    Accessors

    • get height(): number

      The height of the bounding box.

      Returns number

    • get width(): number

      The width of the bounding box.

      Returns number

    Methods

    • Determines whether the BoundingBox is empty.

      Returns boolean