Path

The outline of a 2D shape.

ComponentiOS 13.0+macOS 10.15+tvOS 13.0+watchOS 6.0+Path in SwiftUI

Declaration

React
import { Path } from 'swiftui-react-native';
Swift
@frozen struct Path

Initializers

9 SwiftUI initializers back <Path>. The props you pass pick one.

React
<Path />
Swift
init()

Takes no props.

Also takes the common view props: modifiers, style and testID.

See also

More in Shapes.