Structure
Shadow
public struct Shadow
A struct
defining shadow-like
properties for drop views.
Initializers
init(color:radius:x:y:)
public init(
color: Color = .black,
radius: CGFloat,
x: CGFloat = 0,
y: CGFloat = 0
)
Init.
Parameters
Name | Type | Description |
---|---|---|
color | Color |
The shadow color. Defaults to |
radius | CGFloat |
The shadow radius. |
x | CGFloat |
The shadow x offset. Defaults to |
y | CGFloat |
The shadow y offset. Defaults to |