BoxShadow

class BoxShadow(hOffset: <Error class: unknown class><Number, UNIT>? = null, vOffset: <Error class: unknown class><Number, UNIT>? = null, blurRadius: <Error class: unknown class><Number, UNIT>? = null, spreadRadius: <Error class: unknown class><Number, UNIT>? = null, color: Color? = null, inset: Boolean = false)

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: <Error class: unknown class><Number, UNIT>? = null, vOffset: <Error class: unknown class><Number, UNIT>? = null, blurRadius: <Error class: unknown class><Number, UNIT>? = null, spreadRadius: <Error class: unknown class><Number, UNIT>? = null, color: Color? = null, inset: Boolean = false)

Functions

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