updateBounds method

void updateBounds()

Implementation

void updateBounds() {
  if (_actor != null) {
    ActorNode? node;
    if (_boundsNodeName != null &&
        (node = _artboard.getNode(_boundsNodeName!)) is ActorDrawable) {
      _setupAABB = (node as ActorDrawable).computeAABB();
    } else {
      _setupAABB = _artboard.artboardAABB();
    }
  }
}