completeResolve method

  1. @override
void completeResolve()
override

Implementation

@override
void completeResolve() {
  _clipShapes.clear();
  List<List<ActorClip>?> clippers = allClips;
  for (final List<ActorClip?>? clips in clippers) {
    List<ClipShape> shapes = <ClipShape>[];
    for (final ActorClip? clip in clips!) {
      clip!.node.all((component) {
        if (component is ActorShape) {
          shapes.add(ClipShape(component, clip.intersect));
        }
        return true;
      });
    }
    if (shapes.isNotEmpty) {
      _clipShapes.add(shapes);
    }
  }
}