shape property

ResolvedShape get shape

The shape of an effect that plays inside or around a shape.

Implementation

ResolvedShape get shape => switch (element) {
  final ResolvedShape shape => shape,
  _ => throw StateError('Effect ${effect.kind.name} is not on a shape.'),
};