expandBounds method

void expandBounds(
  1. GRect layerBounds,
  2. GRect outputBounds
)

The expandBounds method is used to expand the bounds of the display object. The layerBounds parameter is the current bounds of the display object, and the outputBounds parameter is the bounds that should be expanded to.

Implementation

void expandBounds(GRect layerBounds, GRect outputBounds) {
  this.layerBounds = layerBounds;
}