Package 

Class ComponentExtensionsKt

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static Dp indicatorSize
    • Method Summary

      Modifier and Type Method Description
      Dp getIndicatorSize()
      void setIndicatorSize(Dp indicatorSize)
      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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • 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.