BoxShadow

class BoxShadow(hOffset: CssSize? = null, vOffset: CssSize? = null, blurRadius: CssSize? = null, spreadRadius: CssSize? = null, color: Color? = null, inset: Boolean = false)(source)

Type-safe definition of CSS box shadow.

Parameters

hOffset

the position of the horizontal shadow

vOffset

the position of the vertical shadow

blurRadius

the blur radius

spreadRadius

the spread radius

color

color of the shadow

inset

changes the shadow from an outer shadow (outset) to an inner shadow

Constructors

Link copied to clipboard
constructor(hOffset: CssSize? = null, vOffset: CssSize? = null, blurRadius: CssSize? = null, spreadRadius: CssSize? = null, color: Color? = null, inset: Boolean = false)

Functions

Link copied to clipboard
open override fun toString(): String