-
The content element whose opacity is being affected.
Declaration
Swift
public var wrappedElement: Element
-
The opacity of the wrapped element.
Declaration
Swift
public var opacity: CGFloat
-
Initializes an
Opacity
with the given content element and opacity.Declaration
Swift
public init( opacity: CGFloat, wrapping wrappedElement: Element )
Parameters
opacity
The opacity to be applied to the wrapped element.
wrapping
The content element to be made transparent.
-
Declaration
Swift
public var content: ElementContent { get }
-
Declaration
Swift
public func backingViewDescription(with context: ViewDescriptionContext) -> ViewDescription?