Generic Instance Method

mask(_:)

No overview available.

Declaration

func mask<Mask>(_ mask: Mask) -> some View where Mask : View

See Also

Masking and Clipping Views

func clipped(antialiased: Bool) -> View

Clips this view to its bounding rectangular frame.

func clipShape<S>(S, style: FillStyle) -> View

Sets a clipping shape for this view.

func cornerRadius(CGFloat, antialiased: Bool) -> View

Clips this view to its bounding frame, with the specified corner radius.