visitAncestor method

  1. @mustCallSuper
void visitAncestor(
  1. Component ancestor
)
inherited

Called whenever we're resolving the artboard, we piggy back on that process to visit ancestors in the tree. This is a good opportunity to check if we have an ancestor of a specific type. For example, a Path needs to know which Shape it's within.

Implementation

@mustCallSuper
void visitAncestor(Component ancestor) {}