ShadowOverlayHelper.Builder

public static final class ShadowOverlayHelper.Builder
extends Object

java.lang.Object
   ↳ androidx.leanback.widget.ShadowOverlayHelper.Builder


Builder for creating ShadowOverlayHelper.

Summary

Public constructors

Builder()

Public methods

ShadowOverlayHelper build(Context context)

Create ShadowOverlayHelper object

ShadowOverlayHelper.Builder keepForegroundDrawable(boolean keepForegroundDrawable)

Set if not using foreground drawable for overlay color.

ShadowOverlayHelper.Builder needsOverlay(boolean needsOverlay)

Set if needs overlay color.

ShadowOverlayHelper.Builder needsRoundedCorner(boolean needsRoundedCorner)

Set if needs rounded corner.

ShadowOverlayHelper.Builder needsShadow(boolean needsShadow)

Set if needs shadow.

ShadowOverlayHelper.Builder options(ShadowOverlayHelper.Options options)

Set option values e.g.

ShadowOverlayHelper.Builder preferZOrder(boolean preferZOrder)

Set if prefer z-order shadow.

Inherited methods