setTransparent

fun setTransparent(isTransparent: Boolean): TextParams

Sets the transparency flag for the image.

If a background color is not set, the image will be transparent.

Return

The current instance for chaining.

Parameters

isTransparent

If true, the image background is transparent (unless a background color is provided).