Computes a boundary by adding a buffer around another boundariesProvider

Hierarchy (view full)

Constructors

Properties

Accessors

Constructors

Properties

initialBuffer: Rect

The amount of buffer to apply

The BoundariesProvider to buffer

Accessors

  • get boundaries(): Rect
  • Returns Rect

  • get buffer(): Rect
  • Get the amount of buffer being applied

    Returns Rect

  • set buffer(newBuffer): void
  • Set the amount of buffer being applied

    Parameters

    • newBuffer: Rect

      The new value

    Returns void

  • get size(): vec2
  • Returns vec2

    the size of the rectangle boundaries as (width, height).