Package 

Class ComponentsKt

    • Method Summary

      Modifier and Type Method Description
      final static LineComponent rememberLineComponent(Fill fill, Dp thickness, Shape shape, Insets margins, Fill strokeFill, Dp strokeThickness, Shadow shadow) Creates and remembers a LineComponent.
      final static ShapeComponent shapeComponent(Fill fill, Shape shape, Insets margins, Fill strokeFill, Dp strokeThickness, Shadow shadow) Creates a ShapeComponent.
      final static ShapeComponent rememberShapeComponent(Fill fill, Shape shape, Insets margins, Fill strokeFill, Dp strokeThickness, Shadow shadow) Creates and remembers a ShapeComponent.
      final static TextComponent rememberTextComponent(Color color, Typeface typeface, TextUnit textSize, Layout.Alignment textAlignment, TextUnit lineHeight, Integer lineCount, TextUtils.TruncateAt truncateAt, Insets margins, Insets padding, Component background, TextComponent.MinWidth minWidth) Creates and remembers a TextComponent.
      final static Shadow shadow(Dp radius, Dp x, Dp y, Color color) Creates a Shadow.
      final static TextComponent.MinWidth fixed(TextComponent.MinWidth.Companion $self, Dp value) A Dp version of TextComponent.MinWidth.fixed.
      • Methods inherited from class java.lang.Object

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

      • rememberLineComponent

         final static LineComponent rememberLineComponent(Fill fill, Dp thickness, Shape shape, Insets margins, Fill strokeFill, Dp strokeThickness, Shadow shadow)

        Creates and remembers a LineComponent.

      • shapeComponent

         final static ShapeComponent shapeComponent(Fill fill, Shape shape, Insets margins, Fill strokeFill, Dp strokeThickness, Shadow shadow)

        Creates a ShapeComponent.

      • rememberShapeComponent

         final static ShapeComponent rememberShapeComponent(Fill fill, Shape shape, Insets margins, Fill strokeFill, Dp strokeThickness, Shadow shadow)

        Creates and remembers a ShapeComponent.

      • rememberTextComponent

         final static TextComponent rememberTextComponent(Color color, Typeface typeface, TextUnit textSize, Layout.Alignment textAlignment, TextUnit lineHeight, Integer lineCount, TextUtils.TruncateAt truncateAt, Insets margins, Insets padding, Component background, TextComponent.MinWidth minWidth)

        Creates and remembers a TextComponent.

      • shadow

         final static Shadow shadow(Dp radius, Dp x, Dp y, Color color)

        Creates a Shadow.

      • fixed

         final static TextComponent.MinWidth fixed(TextComponent.MinWidth.Companion $self, Dp value)

        A Dp version of TextComponent.MinWidth.fixed.