-
public final class ComponentShadowA class that stores shadow properties.
-
-
Method Summary
Modifier and Type Method Description final FloatgetRadius()final UnitsetRadius(Float radius)final FloatgetDx()final UnitsetDx(Float dx)final FloatgetDy()final UnitsetDy(Float dy)final IntegergetColor()final UnitsetColor(Integer color)final BooleangetApplyElevationOverlay()final UnitsetApplyElevationOverlay(Boolean applyElevationOverlay)final UnitmaybeUpdateShadowLayer(DrawContext context, Paint paint, Integer backgroundColor)Checks whether the applied shadow layer needs to be updated. -
-
Method Detail
-
getApplyElevationOverlay
final Boolean getApplyElevationOverlay()
-
setApplyElevationOverlay
final Unit setApplyElevationOverlay(Boolean applyElevationOverlay)
-
maybeUpdateShadowLayer
final Unit maybeUpdateShadowLayer(DrawContext context, Paint paint, Integer backgroundColor)
Checks whether the applied shadow layer needs to be updated.
-
-
-
-