Type Property 型プロパティ

primary

A shape style that maps to the first level of the current content style.

Declaration 宣言

static var primary: HierarchicalShapeStyle { get }
Available when Self is HierarchicalShapeStyle.

Discussion 議論

This hierarchical style maps to the first level of the current foreground style, or to the first level of the default foreground style if you haven’t set a foreground style in the view’s environment. You typically set a foreground style by supplying a non-hierarchical style to the foregroundStyle(_:) modifier.

For information about how to use shape styles, see ShapeStyle.

See Also 参照

Hierarchical Styles