Glow

class Glow


Defines the shadow for a TV component.

Summary

Public companion properties

Glow

Signifies the absence of a glow in TV Components.

Public constructors

Glow(elevationColor: Color, elevation: Dp)

Public functions

Glow
copy(glowColor: Color?, glowElevation: Dp?)
open operator Boolean
equals(other: Any?)
open Int
open String

Public properties

Dp

defines how strong should be the shadow.

Color

Color to be applied on the shadow

Public companion properties

None

Added in 1.0.0
val NoneGlow

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

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

Color to be applied on the shadow

elevation: 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
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
val elevationDp

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
val elevationColorColor

Color to be applied on the shadow