ShadowOverlayHelper.Options


class ShadowOverlayHelper.Options


Option values for ShadowOverlayContainer.

Summary

Constants

const ShadowOverlayHelper.Options!

Default Options for values.

Public constructors

Public functions

ShadowOverlayHelper.Options!
dynamicShadowZ(unfocusedZ: Float, focusedZ: Float)

Set value of focused and unfocused Z value for shadow.

ShadowOverlayHelper.Options!
roundedCornerRadius(roundedCornerRadius: Int)

Set value of rounded corner radius.

Constants

DEFAULT

Added in 1.1.0
const val DEFAULTShadowOverlayHelper.Options!

Default Options for values.

Public constructors

Options

Added in 1.1.0
Options()

Public functions

dynamicShadowZ

Added in 1.1.0
fun dynamicShadowZ(unfocusedZ: Float, focusedZ: Float): ShadowOverlayHelper.Options!

Set value of focused and unfocused Z value for shadow.

Parameters
unfocusedZ: Float

Number of pixels for unfocused Z value.

focusedZ: Float

Number of pixels for focused Z value.

Returns
ShadowOverlayHelper.Options!

The Options object itself.

roundedCornerRadius

Added in 1.1.0
fun roundedCornerRadius(roundedCornerRadius: Int): ShadowOverlayHelper.Options!

Set value of rounded corner radius.

Parameters
roundedCornerRadius: Int

Number of pixels of rounded corner radius. Set to 0 to use default settings.

Returns
ShadowOverlayHelper.Options!

The Options object itself.

Public properties

dynamicShadowFocusedZ

Added in 1.1.0
val dynamicShadowFocusedZFloat

dynamicShadowUnfocusedZ

Added in 1.1.0
val dynamicShadowUnfocusedZFloat

roundedCornerRadius

Added in 1.1.0
val roundedCornerRadiusInt