PopMenuBackgroundStyle
public struct PopMenuBackgroundStyle
Background styles for PopMenu.
-
Determines is the style in dimmed mode.
Declaration
Swift
public let isDimmed: Bool? -
If dimmed, store the dim color.
Declaration
Swift
public let dimColor: Color? -
If dimmed, store the dim opacity.
Declaration
Swift
public let dimOpacity: CGFloat?
-
Determines is the style in blur mode.
Declaration
Swift
public let isBlurred: Bool? -
If blurred, store the blur style.
Declaration
Swift
public let blurStyle: UIBlurEffectStyle?
-
Quick setter for dimmed mode.
Declaration
Swift
public static func dimmed(color: Color, opacity: CGFloat) -> PopMenuBackgroundStyle -
Quick setter for blurred mode.
Declaration
Swift
public static func blurred(_ style: UIBlurEffectStyle) -> PopMenuBackgroundStyle -
No background style.
Declaration
Swift
public static func none() -> PopMenuBackgroundStyle
View on GitHub
Install in Dash
PopMenuBackgroundStyle Structure Reference