SwiftstructDesignLibrary
MacWindowControlElement
struct DesignLibrary.MacWindowControlElement
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolSwiftUI.View
Members 11
- field
var _colorScheme: SwiftUI.Environment<SwiftUI.ColorScheme> - field
var _colorSchemeContrast: SwiftUI.Environment<SwiftUI.ColorSchemeContrast> - field
var _controlSize: SwiftUI.Environment<SwiftUI.ControlSize> - field
var _showBorders: SwiftUI.Environment<Bool> - field
var _systemAccentValue: SwiftUI.Environment<SwiftUI._SystemAccentValue> - field
var _windowAppearsActive: SwiftUI.Environment<Bool> - field
var capabilities: DesignLibrary.WindowControlCapabilities - field
var interactionState: DesignLibrary.InteractionState - field
var revealAmount: CoreGraphics.CGFloat - field
var variant: DesignLibrary.WindowControlVariant - typealias
typealias 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>
Header
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 }