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.

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

Sets a clipping shape for this view.

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

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

Beta

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software