# Shadow

    struct Shadow

    extension Shadow : Equatable

Configuration for the shadow of a Popover.
- `


  ### [==(_:_:)](https://developers.google.com/maps/documentation/maps-3d/ios-sdk/reference/Structs/Shadow#/s:12GoogleMaps3D6ShadowV2eeoiySbAC_ACtFZ)


  ` Returns a Boolean value indicating whether two values are equal.

  Equality is the inverse of inequality. For any values `a` and `b`,
  `a == b` implies that `a != b` is `false`.

  #### Declaration

  Swift

      static func == (a: Shadow, b: Shadow) -> Bool

- `


  ### [color](https://developers.google.com/maps/documentation/maps-3d/ios-sdk/reference/Structs/Shadow#/s:12GoogleMaps3D6ShadowV5color7SwiftUI5ColorVvp)


  `

  #### Declaration

  Swift

      var color: Color

- `


  ### [default](https://developers.google.com/maps/documentation/maps-3d/ios-sdk/reference/Structs/Shadow#/s:12GoogleMaps3D6ShadowV7defaultACvpZ)


  ` The default shadow.
  Consistent with the default JS popover shadow.

  #### Declaration

  Swift

      static let `default`: Shadow

- `


  ### [init(color:radius:x:y:)](https://developers.google.com/maps/documentation/maps-3d/ios-sdk/reference/Structs/Shadow#/s:12GoogleMaps3D6ShadowV5color6radius1x1yAC7SwiftUI5ColorV_14CoreFoundation7CGFloatVA2Mtcfc)


  `

  #### Declaration

  Swift

      init(color: Color = .black.opacity(0.2), radius: CGFloat = 8, x: CGFloat = 0, y: CGFloat = 4)

- `


  ### [radius](https://developers.google.com/maps/documentation/maps-3d/ios-sdk/reference/Structs/Shadow#/s:12GoogleMaps3D6ShadowV6radius14CoreFoundation7CGFloatVvp)


  `

  #### Declaration

  Swift

      var radius: CGFloat

- `


  ### [x](https://developers.google.com/maps/documentation/maps-3d/ios-sdk/reference/Structs/Shadow#/s:12GoogleMaps3D6ShadowV1x14CoreFoundation7CGFloatVvp)


  `

  #### Declaration

  Swift

      var x: CGFloat

- `


  ### [y](https://developers.google.com/maps/documentation/maps-3d/ios-sdk/reference/Structs/Shadow#/s:12GoogleMaps3D6ShadowV1y14CoreFoundation7CGFloatVvp)


  `

  #### Declaration

  Swift

      var y: CGFloat