Stay organized with collections Save and categorize content based on your preferences.

Glow

@ExperimentalTvMaterial3Api
public final class Glow


Defines the shadow for a TV component.

Summary

Nested types

public static class Glow.Companion

Public constructors

Glow(@NonNull Color elevationColor, @NonNull Dp elevation)

Public methods

final @NonNull Glow
copy(Color glowColor, Dp glowElevation)
boolean
equals(Object other)
final @NonNull Dp

defines how strong should be the shadow.

final @NonNull Color

Color to be applied on the shadow

int
@NonNull String

Public constructors

Glow

public Glow(@NonNull Color elevationColor, @NonNull Dp elevation)
Parameters
@NonNull Color elevationColor

Color to be applied on the shadow

@NonNull Dp elevation

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

Public methods

copy

public final @NonNull Glow copy(Color glowColor, Dp glowElevation)

equals

public boolean equals(Object other)

getElevation

public final @NonNull Dp getElevation()

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

getElevationColor

public final @NonNull Color getElevationColor()

Color to be applied on the shadow

hashCode

public int hashCode()

toString

public @NonNull String toString()