kvision / pl.treksoft.kvision.core / TextShadow / <init>

<init>

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

Creates CSS text shadow with given position and radius.

Parameters

hShadow - the position of horizontal shadow

vShadow - the position of vertical shadow

blurRadius - the blur 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.

Parameters

hShadow - the position of horizontal shadow

vShadow - the position of vertical shadow

blurRadius - the blur radius

color - color 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.

Parameters

hShadow - the position of horizontal shadow

vShadow - the position of vertical shadow

blurRadius - the blur radius

color - color named constant