ClipShapeModifier
public struct ClipShapeModifier<S> : ViewModifier where S : Shape
The modifier wrapper for the corresponding SwiftUI function.
-
The clipping shape to use for this view. The shape fills the view’s frame, while maintaining its aspect ratio.
Declaration
Swift
public let shape: S -
The fill style to use when rasterizing shape.
Declaration
Swift
public let style: FillStyle -
Declaration
Swift
public func body(content: Content) -> some View
View on GitHub
ClipShapeModifier Structure Reference