Instance Property インスタンスプロパティ

fill

A filled version of the variant.

Declaration 宣言

var fill: SymbolVariants { get }

Discussion 議論

Use this property to modify a shape variant like circle so that it’s also filled:


Label("Circle Fill", systemImage: "flag")
    .symbolVariant(.circle.fill)

A screenshot of a label that shows a flag in a filled circle

See Also 参照

Modifying a Variant