# PopoverShadow

# PopoverShadow


```
public class PopoverShadow
```

<br />

*** ** * ** ***

Style attributes for the popover's shadow.

## Summary

| ### Constants |
|---|---|
| `static final https://developers.google.com/maps/documentation/maps-3d/android-sdk/reference/com/google/android/gms/maps3d/model/PopoverShadow` | `https://developers.google.com/maps/documentation/maps-3d/android-sdk/reference/com/google/android/gms/maps3d/model/PopoverShadow#DEFAULT()` The default shadow style. |

| ### Public fields |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/ColorInt.html int` | `https://developers.google.com/maps/documentation/maps-3d/android-sdk/reference/com/google/android/gms/maps3d/model/PopoverShadow#color()` The default color of the shadow. |
| `float` | `https://developers.google.com/maps/documentation/maps-3d/android-sdk/reference/com/google/android/gms/maps3d/model/PopoverShadow#offsetX()` The default horizontal offset of the shadow. |
| `float` | `https://developers.google.com/maps/documentation/maps-3d/android-sdk/reference/com/google/android/gms/maps3d/model/PopoverShadow#offsetY()` The default vertical offset of the shadow. |
| `float` | `https://developers.google.com/maps/documentation/maps-3d/android-sdk/reference/com/google/android/gms/maps3d/model/PopoverShadow#radius()` The default blur radius of the shadow. |

| ### Public constructors |
|---|
| `https://developers.google.com/maps/documentation/maps-3d/android-sdk/reference/com/google/android/gms/maps3d/model/PopoverShadow#PopoverShadow()()` Default constructor for PopoverShadow. |
| `https://developers.google.com/maps/documentation/maps-3d/android-sdk/reference/com/google/android/gms/maps3d/model/PopoverShadow#PopoverShadow(int,float,float,float)(int color, float offsetX, float offsetY, float radius)` Constructor to initialize all properties. |

| ### Public methods |
|---|---|
| `int` | `https://developers.google.com/maps/documentation/maps-3d/android-sdk/reference/com/google/android/gms/maps3d/model/PopoverShadow#getColor()()` Gets the color of the shadow. |
| `float` | `https://developers.google.com/maps/documentation/maps-3d/android-sdk/reference/com/google/android/gms/maps3d/model/PopoverShadow#getOffsetX()()` Gets the horizontal offset of the shadow. |
| `float` | `https://developers.google.com/maps/documentation/maps-3d/android-sdk/reference/com/google/android/gms/maps3d/model/PopoverShadow#getOffsetY()()` Gets the vertical offset of the shadow. |
| `float` | `https://developers.google.com/maps/documentation/maps-3d/android-sdk/reference/com/google/android/gms/maps3d/model/PopoverShadow#getRadius()()` Gets the blur radius of the shadow. |
| `https://developers.google.com/maps/documentation/maps-3d/android-sdk/reference/com/google/android/gms/maps3d/model/PopoverShadow` | `https://developers.google.com/maps/documentation/maps-3d/android-sdk/reference/com/google/android/gms/maps3d/model/PopoverShadow#setColor(int)(int color)` Sets the color of the shadow. |
| `https://developers.google.com/maps/documentation/maps-3d/android-sdk/reference/com/google/android/gms/maps3d/model/PopoverShadow` | `https://developers.google.com/maps/documentation/maps-3d/android-sdk/reference/com/google/android/gms/maps3d/model/PopoverShadow#setOffsetX(float)(float offsetX)` Sets the horizontal offset of the shadow. |
| `https://developers.google.com/maps/documentation/maps-3d/android-sdk/reference/com/google/android/gms/maps3d/model/PopoverShadow` | `https://developers.google.com/maps/documentation/maps-3d/android-sdk/reference/com/google/android/gms/maps3d/model/PopoverShadow#setOffsetY(float)(float offsetY)` Sets the vertical offset of the shadow. |
| `https://developers.google.com/maps/documentation/maps-3d/android-sdk/reference/com/google/android/gms/maps3d/model/PopoverShadow` | `https://developers.google.com/maps/documentation/maps-3d/android-sdk/reference/com/google/android/gms/maps3d/model/PopoverShadow#setRadius(float)(float radius)` Sets the blur radius of the shadow. |

## Constants

### DEFAULT

```
public static final PopoverShadow DEFAULT
```

The default shadow style.

## Public fields

### color

```
public @ColorInt int color
```

The default color of the shadow.

### offsetX

```
public float offsetX
```

The default horizontal offset of the shadow.

### offsetY

```
public float offsetY
```

The default vertical offset of the shadow.

### radius

```
public float radius
```

The default blur radius of the shadow.

## Public constructors

### PopoverShadow

```
public PopoverShadow()
```

Default constructor for PopoverShadow.

### PopoverShadow

```
public PopoverShadow(int color, float offsetX, float offsetY, float radius)
```

Constructor to initialize all properties.

| Parameters |
|---|---|
| `int color` | The color of the shadow. |
| `float offsetX` | The horizontal offset of the shadow. |
| `float offsetY` | The vertical offset of the shadow. |
| `float radius` | The blur radius of the shadow. |

## Public methods

### getColor

```
public int getColor()
```

Gets the color of the shadow.

### getOffsetX

```
public float getOffsetX()
```

Gets the horizontal offset of the shadow.

### getOffsetY

```
public float getOffsetY()
```

Gets the vertical offset of the shadow.

### getRadius

```
public float getRadius()
```

Gets the blur radius of the shadow.

### setColor

```
public PopoverShadow setColor(int color)
```

Sets the color of the shadow.

### setOffsetX

```
public PopoverShadow setOffsetX(float offsetX)
```

Sets the horizontal offset of the shadow.

### setOffsetY

```
public PopoverShadow setOffsetY(float offsetY)
```

Sets the vertical offset of the shadow.

### setRadius

```
public PopoverShadow setRadius(float radius)
```

Sets the blur radius of the shadow.