ShapeView
protocol · iOS 17.0+ · SDK 27.1
nonisolated protocol ShapeView<Content> : ViewA view that provides a shape that you can use for drawing operations. Use this type with the drawing methods on ``Shape`` to apply multiple fills and/or strokes to a shape. For example, the following code applies a fill and stroke to a capsule shape: Capsule() .fill(.yellow) .stroke(.blue, lineWidth: 8)
Members (0)
This type has no directly callable members in this snapshot. See the framework’s skipped declarations for unsupported APIs.
Skipped declarations
5 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
ShapeView.fill(_:style:)
This protocol needs associated types that cannot yet cross the bridge.
ShapeView.stroke(_:style:antialiased:)
This protocol needs associated types that cannot yet cross the bridge.
ShapeView.stroke(_:lineWidth:antialiased:)
This protocol needs associated types that cannot yet cross the bridge.
ShapeView.strokeBorder(_:style:antialiased:)
This protocol needs associated types that cannot yet cross the bridge.
ShapeView.strokeBorder(_:lineWidth:antialiased:)
This protocol needs associated types that cannot yet cross the bridge.