Shadow
struct Shadowextension Shadow : EquatableConfiguration for the shadow of a Popover.
-
Returns a Boolean value indicating whether two values are equal.
Equality is the inverse of inequality. For any values
aandb,a == bimplies thata != bisfalse.Declaration
Swift
static func == (a: Shadow, b: Shadow) -> Bool -
Declaration
Swift
var color: Color -
The default shadow. Consistent with the default JS popover shadow.
Declaration
Swift
static let `default`: Shadow -
Declaration
Swift
init(color: Color = .black.opacity(0.2), radius: CGFloat = 8, x: CGFloat = 0, y: CGFloat = 4) -
Declaration
Swift
var radius: CGFloat -
Declaration
Swift
var x: CGFloat -
Declaration
Swift
var y: CGFloat