kvision / pl.treksoft.kvision.core / TextShadow

TextShadow

class TextShadow

Type-safe definition of CSS text shadow.

Constructors

<init>

TextShadow(hShadow: CssSize? = null, vShadow: CssSize? = null, blurRadius: CssSize? = null)

Creates CSS text shadow with given position and radius.

TextShadow(hShadow: CssSize? = null, vShadow: CssSize? = null, blurRadius: CssSize? = null, color: Int)

Creates CSS text shadow with given position and radius and color given in hex format.

TextShadow(hShadow: CssSize? = null, vShadow: CssSize? = null, blurRadius: CssSize? = null, color: Col)

Creates CSS text shadow with given position and radius and color given with named constant.