SwiftstructDesignLibrary
struct DesignLibrary.SliderGesture
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolSwiftUI.ViewModifier
Members 10
- field
var _interactionState: SwiftUI.Binding<DesignLibrary.InteractionState> - field
var _value: SwiftUI.Binding<Double> - field
var allowedEvents: Gestures.EventMask - field
var allowsTickMarkValuesOnly: Bool - field
var axis: SwiftUI.Axis - field
var expansionEventMask: Gestures.EventMask - field
var gestureAction: SwiftUI.UnsafeMainActorClosure<Pack{DesignLibrary.ControlTrackingEvents}, ()> - field
var isEnabled: Bool - field
var tickMarks: [DesignLibrary.Slider.TickMark] - typealias
typealias Body = SwiftUI.ModifiedContent<SwiftUI._ViewModifier_Content<DesignLibrary.SliderGesture>, SwiftUI._OverlayPreferenceModifier<DesignLibrary.Slider.KnobKey, DesignLibrary.SliderGesture.GestureView>>
Header
struct SliderGesture { struct GestureView { struct SliderGeometry { var frame: __C.CGRect var knobLength: CoreGraphics.CGFloat } var knobAnchor: SwiftUI.Anchor<__C.CGRect>? var gesture: DesignLibrary.SliderGesture // synthesized from the backing storage `__geometry`; the property's own accessors are stripped @SwiftUI.LazyState var _geometry: DesignLibrary.SliderGesture.GestureView.SliderGeometry { get set } // synthesized from the backing storage `_reduceMotion`; the property's own accessors are stripped @SwiftUI.Environment var reduceMotion: Swift.Bool { get } // synthesized from the backing storage `_layoutDirection`; the property's own accessors are stripped @SwiftUI.Environment var layoutDirection: SwiftUI.LayoutDirection { get } } // synthesized from the backing storage `_value`; the property's own accessors are stripped @SwiftUI.Binding var value: Swift.Double { get set } // synthesized from the backing storage `_interactionState`; the property's own accessors are stripped @SwiftUI.Binding var interactionState: DesignLibrary.InteractionState { get set } var axis: SwiftUI.Axis var allowsTickMarkValuesOnly: Swift.Bool var tickMarks: [DesignLibrary.Slider.TickMark] var expansionEventMask: Gestures.EventMask var allowedEvents: Gestures.EventMask var isEnabled: Swift.Bool var gestureAction: SwiftUI.UnsafeMainActorClosure<DesignLibrary.ControlTrackingEvents, ()> }