width

val width: Float = 0.0f

Parameters

width

Width for the watermark, if the value is zero, the intrinsic width of the drawable will be used. If the drawable has no intrinsic width, such as a solid color, an exception will be thrown.