# Glow

Artifact: [androidx.tv:tv-material](https://developer.android.com/jetpack/androidx/releases/tv) [View Source](https://cs.android.com/search?q=file:androidx/tv/material3/Glow.kt+class:androidx.tv.material3.Glow) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/tv#1.0.0)


```
class Glow
```

<br />

*** ** * ** ***

Defines the shadow for a TV component.

## Summary

| ### Public companion properties |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/tv/material3/Glow` | `https://developer.android.com/reference/kotlin/androidx/tv/material3/Glow#None()` Signifies the absence of a glow in TV Components. |

| ### Public constructors |
|---|
| `https://developer.android.com/reference/kotlin/androidx/tv/material3/Glow#Glow(androidx.compose.ui.graphics.Color,androidx.compose.ui.unit.Dp)(elevationColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, elevation: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp)` |

| ### Public functions |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/tv/material3/Glow` | `https://developer.android.com/reference/kotlin/androidx/tv/material3/Glow#copy(androidx.compose.ui.graphics.Color,androidx.compose.ui.unit.Dp)(glowColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color?, glowElevation: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp?)` |
| `open operator https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/tv/material3/Glow#equals(kotlin.Any)(other: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html?)` |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/tv/material3/Glow#hashCode()()` |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | `https://developer.android.com/reference/kotlin/androidx/tv/material3/Glow#toString()()` |

| ### Public properties |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp` | `https://developer.android.com/reference/kotlin/androidx/tv/material3/Glow#elevation()` defines how strong should be the shadow. |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/tv/material3/Glow#elevationColor()` `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` to be applied on the shadow |

## Public companion properties

### None

Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/tv#1.0.0)

```
val None: Glow
```

Signifies the absence of a glow in TV Components. Use this if you do not want to display a glow indication in any of the Leanback TV Components.

## Public constructors

### Glow

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/tv#1.1.0)

```
Glow(elevationColor: Color, elevation: Dp)
```

| Parameters |
|---|---|
| `elevationColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` to be applied on the shadow |
| `elevation: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp` | defines how strong should be the shadow. Larger its value, further the shadow goes from the center of the component. |

## Public functions

### copy

Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/tv#1.0.0)

```
fun copy(glowColor: Color? = null, glowElevation: Dp? = null): Glow
```

### equals

```
open operator fun equals(other: Any?): Boolean
```

### hashCode

```
open fun hashCode(): Int
```

### toString

```
open fun toString(): String
```

## Public properties

### elevation

Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/tv#1.0.0)

```
val elevation: Dp
```

defines how strong should be the shadow. Larger its value, further the shadow goes from the center of the component.

### elevationColor

Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/tv#1.0.0)

```
val elevationColor: Color
```

`https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` to be applied on the shadow