class TextConfiguration


Class representing aspects of Text that can be configured with LocalTextConfiguration.

Summary

Public constructors

TextConfiguration(
    textAlign: TextAlign?,
    overflow: TextOverflow,
    maxLines: Int
)

Public functions

open operator Boolean
equals(other: Any?)
open Int

Public properties

Int

The maximum number of lines for the text to span, wrapping if necessary.

TextOverflow

How visual overflow should be handled.

TextAlign?

The alignment of the text within the lines of the paragraph.

Public constructors

TextConfiguration

TextConfiguration(
    textAlign: TextAlign?,
    overflow: TextOverflow,
    maxLines: Int
)
Parameters
textAlign: TextAlign?

The alignment of the text within the lines of the paragraph.

overflow: TextOverflow

How visual overflow should be handled.

maxLines: Int

The maximum number of lines for the text to span, wrapping if necessary.

Public functions

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

Public properties

maxLines

Added in 1.0.0-alpha25
val maxLinesInt

The maximum number of lines for the text to span, wrapping if necessary.

overflow

Added in 1.0.0-alpha25
val overflowTextOverflow

How visual overflow should be handled.

textAlign

Added in 1.0.0-alpha25
val textAlignTextAlign?

The alignment of the text within the lines of the paragraph.