-
public final class ComponentExtensionsKt
-
-
Field Summary
Fields Modifier and Type Field Description private static DpindicatorSize
-
Method Summary
Modifier and Type Method Description DpgetIndicatorSize()voidsetIndicatorSize(Dp indicatorSize)final static <T extends ShapeComponent> TsetShadow(T $self, Dp radius, Dp dx, Dp dy, Color color, Boolean applyElevationOverlay)Applies a drop shadow to this ShapeComponent. -
-
Method Detail
-
getIndicatorSize
Dp getIndicatorSize()
-
setIndicatorSize
void setIndicatorSize(Dp indicatorSize)
-
setShadow
final static <T extends ShapeComponent> T setShadow(T $self, Dp radius, Dp dx, Dp dy, Color color, Boolean applyElevationOverlay)
Applies a drop shadow to this ShapeComponent.
- Parameters:
radius- the blur radius.dx- the horizontal offset.dy- the vertical offset.color- the shadow color.applyElevationOverlay- whether to apply an elevation overlay to the ShapeComponent.
-
-
-
-