tag property

String? tag
final

The tag to indicate correspondence of this segment in animation.

The order and connecting relations of items in a segment list is important, which is different to MarkElement list. So to make a best morphing, two path segments should:

  • Tags should be unique.
  • The shorter's tags are subset of the longer's.
  • The shorter's tags' order are same with they are in longer's.

Implementation

final String? tag;