Google is committed to advancing racial equity for Black communities. See how.

Shadow

@Immutable data class Shadow
kotlin.Any
   ↳ androidx.ui.graphics.Shadow

A single shadow.

Summary

Public constructors
<init>(color: Color = Color(0xFF000000), offset: Offset = Offset.Zero, blurRadius: Float = 0.0f)

A single shadow.

Properties
Float

Color

Offset

Companion properties
Shadow

Constant for no shadow.

Public constructors

<init>

Shadow(
    color: Color = Color(0xFF000000),
    offset: Offset = Offset.Zero,
    blurRadius: Float = 0.0f)

A single shadow.

Properties

blurRadius

@Stable val blurRadius: Float

color

@Stable val color: Color

offset

@Stable val offset: Offset

Companion properties

None

@Stable val None: Shadow

Constant for no shadow.