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