🌈 Create new beautiful Compose Gradients with our new wesite ->
Class

InnerShadowPainter

Painter implementation that draws an inner shadow with the geometry defined by the specified shape and Shadow.

Source set: Common
public class InnerShadowPainter internal constructor(
    private val shape: Shape,
    private val shadow: Shadow,
    private val renderCreator: InnerShadowRendererProvider = InnerShadowRendererProvider.Default,
) : Painter()

Painter implementation that draws an inner 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