Package 

Class TextComponentKt

    • Method Summary

      Modifier and Type Method Description
      final static TextComponent textComponent(Color color, TextUnit textSize, ShapeComponent background, TextUtils.TruncateAt ellipsize, Integer lineCount, MutableDimensions padding, MutableDimensions margins, Typeface typeface, Paint.Align textAlign) Creates a TextComponent.
      • Methods inherited from class java.lang.Object

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

      • textComponent

        @Composable()@Deprecated(message = Use `com.patrykandpatrick.vico.compose.component.textComponent` instead., level = DeprecationLevel.ERROR) final static TextComponent textComponent(Color color, TextUnit textSize, ShapeComponent background, TextUtils.TruncateAt ellipsize, Integer lineCount, MutableDimensions padding, MutableDimensions margins, Typeface typeface, Paint.Align textAlign)

        Creates a TextComponent.

        Parameters:
        color - the text color.
        textSize - the text size.
        background - an optional ShapeComponent to display behind the text.
        ellipsize - the text truncation behavior.
        lineCount - the line count.
        padding - the padding between the text and the background.
        margins - the margins around the background.
        typeface - the Typeface for the text.
        textAlign - the text alignment.