sesaparcours
    Preparing search index...

    Fake class which should be extended to avoid inheriting static properties

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Methods

    Constructors

    • Class for representing rectangular regions.

      Parameters

      • top: number

        Top.

      • bottom: number

        Bottom.

      • left: number

        Left.

      • right: number

        Right.

      Returns Blockly.utils.Rect

    Properties

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

    Methods

    • Tests whether this rectangle contains a x/y coordinate.

      Parameters

      • x: number

        The x coordinate to test for containment.

      • y: number

        The y coordinate to test for containment.

      Returns boolean

      Whether this rectangle contains given coordinate.

    • Tests whether this rectangle intersects the provided rectangle. Assumes that the coordinate system increases going down and left.

      Parameters

      Returns boolean

      Whether this rectangle intersects the provided rectangle.