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.

Returns - void

Defined in

Last Updated: 21 November, 2024