ModifiersBuilders.Shadow


@RequiresSchemaVersion(major = 1, minor = 300)
class ModifiersBuilders.Shadow


The shadow definition. The shadow is drawn as a blur region around the element.

Summary

Nested types

Builder for Shadow

Public functions

DimensionBuilders.DpProp

Gets the blur radius of the shadow.

ColorBuilders.ColorProp

Gets the color used in the shadow.

String

Public functions

getBlurRadius

Added in 1.1.0
fun getBlurRadius(): DimensionBuilders.DpProp

Gets the blur radius of the shadow. It controls the size of the blur that is drawn. When set to zero, the shadow is not drawn. Defaults to zero.

getColor

Added in 1.1.0
fun getColor(): ColorBuilders.ColorProp

Gets the color used in the shadow. Defaults to Black.

toString

fun toString(): String