SwiftstructDesignLibrary

struct DesignLibrary.MacWindowControlElement

Structure

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

inherits{}

Members 11

  1. fieldvar _colorScheme: SwiftUI.Environment<SwiftUI.ColorScheme>
  2. fieldvar _colorSchemeContrast: SwiftUI.Environment<SwiftUI.ColorSchemeContrast>
  3. fieldvar _controlSize: SwiftUI.Environment<SwiftUI.ControlSize>
  4. fieldvar _showBorders: SwiftUI.Environment<Bool>
  5. fieldvar _systemAccentValue: SwiftUI.Environment<SwiftUI._SystemAccentValue>
  6. fieldvar _windowAppearsActive: SwiftUI.Environment<Bool>
  7. fieldvar capabilities: DesignLibrary.WindowControlCapabilities
  8. fieldvar interactionState: DesignLibrary.InteractionState
  9. fieldvar revealAmount: CoreGraphics.CGFloat
  10. fieldvar variant: DesignLibrary.WindowControlVariant
  11. typealiastypealias Body = SwiftUI._ConditionalContent<SwiftUI.ModifiedContent<SwiftUI.ModifiedContent<SwiftUI.ModifiedContent<SwiftUI.ModifiedContent<SwiftUI.ModifiedContent<SwiftUI.ModifiedContent<SwiftUI._ConditionalContent<SwiftUI.ModifiedContent<SwiftUI.Color, SwiftUI.MaterialEffect>, SwiftUI.ModifiedContent<SwiftUI.Image, SwiftUI._OpacityEffect>>, SwiftUI._FrameLayout>, SwiftUI._ContentShapeKindModifier<SwiftUI.Capsule>>, SwiftUI._OverlayModifier<SwiftUI._ConditionalContent<SwiftUI.ModifiedContent<SwiftUI.ModifiedContent<SwiftUI.ModifiedContent<SwiftUI.ModifiedContent<SwiftUI.Image, SwiftUI._FrameLayout>, SwiftUI._ScaleEffect>, SwiftUI._ForegroundStyleModifier<SwiftUI._OpacityShapeStyle<SwiftUI.AnyShapeStyle>>>, SwiftUI._EnvironmentKeyWritingModifier<Swift.Optional<SwiftUI.Material>>>, SwiftUI.ModifiedContent<SwiftUI.ModifiedContent<SwiftUI.ModifiedContent<SwiftUI.ModifiedContent<SwiftUI.Image, SwiftUI._AspectRatioLayout>, SwiftUI._ForegroundStyleModifier<SwiftUI._OpacityShapeStyle<SwiftUI.AnyShapeStyle>>>, SwiftUI._AnimationModifier<Swift.Bool>>, SwiftUI._EnvironmentKeyWritingModifier<Swift.Optional<SwiftUI.Material>>>>>>, SwiftUI._OverlayModifier<SwiftUI.ModifiedContent<SwiftUI.ModifiedContent<SwiftUI._ShapeView<SwiftUI.Capsule, SwiftUI._OpacityShapeStyle<SwiftUI._BlendModeShapeStyle<SwiftUI.Color>>>, SwiftUI._AnimationModifier<Swift.Bool>>, SwiftUI._AllowsHitTestingModifier>>>, SwiftUI._OverlayModifier<Swift.Optional<SwiftUI.ModifiedContent<SwiftUI.ModifiedContent<SwiftUI.StrokeShapeView<SwiftUI.Capsule, SwiftUI.Color, SwiftUI.EmptyView>, SwiftUI._OpacityEffect>, SwiftUI._AllowsHitTestingModifier>>>>, SwiftUI.FlexCoreInteractionModifier>, DesignLibrary.LegacyWindowControlElement>
struct MacWindowControlElement {
    // synthesized from the backing storage `_controlSize`; the property's own accessors are stripped
    @SwiftUI.Environment var controlSize: SwiftUI.ControlSize {
        get
    }
    // synthesized from the backing storage `_colorScheme`; the property's own accessors are stripped
    @SwiftUI.Environment var colorScheme: SwiftUI.ColorScheme {
        get
    }
    // synthesized from the backing storage `_colorSchemeContrast`; the property's own accessors are stripped
    @SwiftUI.Environment var colorSchemeContrast: SwiftUI.ColorSchemeContrast {
        get
    }
    // synthesized from the backing storage `_windowAppearsActive`; the property's own accessors are stripped
    @SwiftUI.Environment var windowAppearsActive: Swift.Bool {
        get
    }
    // synthesized from the backing storage `_systemAccentValue`; the property's own accessors are stripped
    @SwiftUI.Environment var systemAccentValue: SwiftUI._SystemAccentValue {
        get
    }
    // synthesized from the backing storage `_showBorders`; the property's own accessors are stripped
    @SwiftUI.Environment var showBorders: Swift.Bool {
        get
    }
    var variant: DesignLibrary.WindowControlVariant
    var interactionState: DesignLibrary.InteractionState
    var revealAmount: CoreGraphics.CGFloat
    var capabilities: DesignLibrary.WindowControlCapabilities
}