-
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
Opacitywith the given content element and opacity.Declaration
Swift
public init( opacity: CGFloat, wrapping wrappedElement: Element )Parameters
opacityThe opacity to be applied to the wrapped element.
wrappingThe content element to be made transparent.
-
Declaration
Swift
public var content: ElementContent { get } -
Declaration
Swift
public func backingViewDescription(with context: ViewDescriptionContext) -> ViewDescription?
View on GitHub
Opacity Structure Reference