Contents

background(_:)

Specifies a color that will be drawn behind the content within the matched transition source.

Declaration

func background(_ style: Color) -> some MatchedTransitionSourceConfiguration

Parameters

  • style:

    The color to apply behind the content within the matched transition source..

Discussion

During a zoom transition, the background color fills the interpolated shape as it groes from the matched transition source.