WatermarkShadow

data class WatermarkShadow(    val radius: Float,     val dx: Float,     val dy: Float,     @ColorInt val shadowColor: Int)

Configuration to create a shadow for watermark.

Parameters

radius

Shadow blur radius.

dx

Shadow offset for x-axis.

dy

Shadow offset for y-axis.

shadowColor

Color-int for the shadow, can be apply alpha for transparent shadow.

Constructors

Link copied to clipboard
fun WatermarkShadow(    radius: Float,     dx: Float,     dy: Float,     @ColorInt shadowColor: Int)

Properties

Link copied to clipboard
val dx: Float
Link copied to clipboard
val dy: Float
Link copied to clipboard
val radius: Float
Link copied to clipboard
val shadowColor: Int