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

slash

A slashed version of the variant.

Declaration 宣言

var slash: SymbolVariants { get }

Discussion 議論

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


Label("Circle Slash", systemImage: "flag")
    .symbolVariant(.circle.slash)

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

See Also 参照

Modifying a Variant