set Shadow
fun setShadow(@FloatRange(from = 0.0.toDouble(), fromInclusive = false ) radius: Float, dx: Float, dy: Float, shadowColor: Int): SpanBuilder
Content copied to clipboard
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.