setShadow

fun setShadow(@FloatRange(from = 0.0.toDouble(), fromInclusive = falseradius: Float, dx: Float, dy: Float, shadowColor: Int): SpanBuilder

Set the span of shadow.

Return

the single SpanBuilder instance

Parameters

radius

The radius of shadow.

dx

X-axis offset, in pixel.

dy

Y-axis offset, in pixel.

shadowColor

The color of shadow.