Contents

mask(content:)

Masks chart content using the alpha channel of the specified content.

Declaration

nonisolated func mask<C>(@ChartContentBuilder content: () -> C) -> some ChartContent where C : ChartContent

Discussion

Parameter content: The content whose alpha will be applied to this item.

See Also

Masking and clipping