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

circle

A version of the variant that’s encapsulated in a circle.

Declaration 宣言

var circle: SymbolVariants { get }

Discussion 議論

Use this property to modify a variant like fill so that it’s also contained in a circle:


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

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

See Also 参照

Modifying a Variant