GoogleMaps3D Framework Reference

Shadow

struct Shadow
extension Shadow : Equatable

Configuration 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 a and b, a == b implies that a != b is false.

    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
  • x

    Declaration

    Swift

    var x: CGFloat
  • y

    Declaration

    Swift

    var y: CGFloat