Match

A matched pair of items for interpolation.

Represents the relationship between a start and end item during morphing. Attributes: start: The starting item, or None for creation (fade in) end: The ending item, or None for destruction (fade out) Semantics: - start=A, end=B: Item A morphs into item B - start=A, end=None: Item A fades out at its position - start=None, end=B: Item B fades in at its position - start=None, end=None: Invalid (not allowed)

Constructor

Match(start: Optional[T], end: Optional[T]) -> None

Properties

is_creation
True if this is a creation (start is None).
is_destruction
True if this is a destruction (end is None).
is_morph
True if this is a morph between two items.