Shadow

fun Shadow(dx: Float, dy: Float, radius: Float, @ColorInt color: Int): Shadow

A shadow which should be drawn under a shape on a Canvas.

Parameters

dx

horizontal offset

dy

vertical offset

radius

blur radius

color

color of the shadow