innerShadow

open fun innerShadow(horizontal: Double = 0.0, vertical: Double = 0.0, blurRadius: Double = 1.0, color: Color = Black, block: Canvas.() -> Unit)

Adds an inner shadow to the operations within block.

Parameters

horizontal

offset of the shadow

vertical

offset of the shadow

blurRadius

of the shadow

color

of the shadow

block

shadow applied to