Google 致力于为黑人社区推动种族平等。查看具体举措

Shadow

@Immutable data class Shadow
kotlin.Any
   ↳ androidx.compose.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.