Contents

fill(style:)

Fills this shape with the foreground color.

Declaration

nonisolated func fill(style: FillStyle = FillStyle()) -> some View

Parameters

  • style:

    The style options that determine how the fill renders.

Return Value

A shape filled with the foreground color.

See Also

Filling a shape