SwiftstructDesignLibrary

struct DesignLibrary.SliderGesture

Structure

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

inherits{}

Members 10

  1. fieldvar _interactionState: SwiftUI.Binding<DesignLibrary.InteractionState>
  2. fieldvar _value: SwiftUI.Binding<Double>
  3. fieldvar allowedEvents: Gestures.EventMask
  4. fieldvar allowsTickMarkValuesOnly: Bool
  5. fieldvar axis: SwiftUI.Axis
  6. fieldvar expansionEventMask: Gestures.EventMask
  7. fieldvar gestureAction: SwiftUI.UnsafeMainActorClosure<Pack{DesignLibrary.ControlTrackingEvents}, ()>
  8. fieldvar isEnabled: Bool
  9. fieldvar tickMarks: [DesignLibrary.Slider.TickMark]
  10. typealiastypealias Body = SwiftUI.ModifiedContent<SwiftUI._ViewModifier_Content<DesignLibrary.SliderGesture>, SwiftUI._OverlayPreferenceModifier<DesignLibrary.Slider.KnobKey, DesignLibrary.SliderGesture.GestureView>>
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, ()>
}