Declaration
compose().fill(
content?: SwiftUI.ShapeStyle,
options?: {
style?: SwiftUI.FillStyle;
}
)@export(implementation) nonisolated func fill<S>(
_ content: S = .foreground,
style: FillStyle = FillStyle()
) -> FillShapeView<Self.Content, S, Self>
where S : ShapeStyleParameters
contentSwiftUI.ShapeStyleThe color or gradient to use when filling this shape.
options.styleSwiftUI.FillStyleThe style options that determine how the fill renders.
Return value
A shape filled with the color or gradient you supply.
See also
More in ShapeView modifiers.