Class

DropShadowPainter

Painter implementation that draws a drop shadow with the geometry defined by the specified shape and Shadow.

Source set: Common
public class DropShadowPainter internal constructor(
    private val shape: Shape,
    private val shadow: Shadow,
    private val renderCreator: DropShadowRendererProvider,
) : Painter()

Painter implementation that draws a drop shadow with the geometry defined by the specified shape and Shadow.

Properties

intrinsicSize

Source set: Common
override val intrinsicSize: Size

Functions

onDraw

Source set: Common
override fun DrawScope.onDraw()

applyAlpha

Source set: Common
override fun applyAlpha(alpha: Float): Boolean

applyColorFilter

Source set: Common
override fun applyColorFilter(colorFilter: ColorFilter?): Boolean

applyLayoutDirection

Source set: Common
override fun applyLayoutDirection(layoutDirection: LayoutDirection): Boolean
Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: