Skip to main content
Apple Developer Docs
Fonts
Symbols
×
SwiftUI
/
AnyShape
/
init(_:)
init(_:)
Create an any shape instance from a shape.
Declaration
init
<
S
>(
_
shape
:
S
)
where
S
:
Shape