元のドキュメント: developer.apple.com/documentation/swiftui/hierarchicalshapestyle


構造体


HierarchicalShapeStyle


番号付きのコンテンツスタイルのいずれかに対応する形状スタイル。


iOS 15.0+ iPadOS 15.0+ Mac Catalyst 15.0 macOS 12.0+

tvOS 15.0 VisionOS 1.0+ WatchOS 8.0+

@frozen
struct HierarchicalShapeStyle




トピックス


階層的な形状スタイルの取得


static let primary: HierarchicalShapeStyle

現在のコンテンツスタイルの第一レベルに対応する形状スタイル。


static let secondary: HierarchicalShapeStyle

現在のコンテンツスタイルの第2レベルに対応する形状スタイル。


static let tertiary: HierarchicalShapeStyle

現在のコンテンツスタイルの第3レベルに対応する形状スタイル。


static let quaternary: HierarchicalShapeStyle

現在のコンテンツスタイルの第4レベルに対応する形状スタイル。


型プロパティ


static let quinary: HierarchicalShapeStyle

現在のコンテンツスタイルの第5レベルに対応する形状スタイル。





関連


以下に準拠


BitwiseCopyable

Copyable

Sendable

SendableMetatype

ShapeStyle





以下も見よ


サポートする型


struct AngularGradient

角度のグラデーション。


struct EllipticalGradient

楕円を描く放射状グラデーション。


struct LinearGradient

線形のグラデーション。


struct RadialGradient

放射状のグラデーション。


struct Material

背景素材の型。


struct ImagePaint

画像の領域を繰り返して形状を塗りつぶす形状スタイル。


struct HierarchicalShapeStyleModifier

階層構造を持つ形状に適用できるスタイル。


struct ForegroundStyle

現在の文脈における前景のスタイル。


struct BackgroundStyle

現在の状況における背景のスタイル。


struct SelectionShapeStyle

プラットフォームの慣習的な色や動作に従って、選択状態を視覚的に示すために使用されるスタイル。


struct SeparatorShapeStyle

前景の区切り線や境界線に適したスタイル。


struct TintShapeStyle

現在の tint 色を反映したスタイル。


struct FillShapeStyle

上塗り塗りつぶしの 1 つを表示する形状スタイル。


struct LinkShapeStyle

リンクに適したスタイル。


struct PlaceholderTextShapeStyle

プレースホルダーテキストに適したスタイル。


struct WindowBackgroundShapeStyle

要素が配置されているウィンドウの背景色に合わせるべき要素に適したスタイル。














トップへ












トップへ












トップへ












トップへ












トップへ












トップへ












トップへ












トップへ












トップへ












トップへ












トップへ












トップへ












トップへ












トップへ












トップへ












トップへ












トップへ












トップへ