SwiftstructDesignLibrary

struct DesignLibrary.SegmentedControlForegroundStyle

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

inherits{}

Members 6

  1. fieldlet interactionState: DesignLibrary.InteractionState+0x2
  2. fieldlet morphology: DesignLibrary.SegmentedControlMorphology+0x0
  3. fieldlet toggleValue: DesignLibrary.ToggleValue+0x3
  4. funcresolve(in: SwiftUI.EnvironmentValues) -> some SwiftUI.ShapeStyle
  5. initinit(morphology: DesignLibrary.SegmentedControlMorphology, interactionState: DesignLibrary.InteractionState, isSelected: Bool) -> DesignLibrary.SegmentedControlForegroundStyle
  6. typealiastypealias Resolved = SwiftUI.AnyShapeStyle
struct SegmentedControlForegroundStyle {
    let morphology: DesignLibrary.SegmentedControlMorphology
    let interactionState: DesignLibrary.InteractionState
    let toggleValue: DesignLibrary.ToggleValue

    init(morphology: DesignLibrary.SegmentedControlMorphology, interactionState: DesignLibrary.InteractionState, isSelected: Swift.Bool)

    func resolve(in: SwiftUI.EnvironmentValues) -> some SwiftUI.ShapeStyle
}