expandInPlace Method

move all limits by a fixed amount.

  • positive delta expands the range size
  • negative delta reduces the range size
  • if any dimension reduces below zero size, the whole range becomes null

expandInPlace(delta: number): void

Parameter Type Description
delta number shift to apply.

Defined in

Last Updated: 08 January, 2020