RemoteTextConfiguration

class RemoteTextConfiguration


Class representing aspects of RemoteText that can be configured with LocalRemoteTextConfiguration.

Summary

Public constructors

RemoteTextConfiguration(
    textAlign: RemoteTextAlign?,
    overflow: RemoteTextOverflow,
    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.

RemoteTextOverflow

How visual overflow should be handled.

RemoteTextAlign?

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

Public constructors

RemoteTextConfiguration

Added in 1.0.0-alpha16
RemoteTextConfiguration(
    textAlign: RemoteTextAlign?,
    overflow: RemoteTextOverflow,
    maxLines: Int
)
Parameters
textAlign: RemoteTextAlign?

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

overflow: RemoteTextOverflow

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-alpha16
val maxLines: Int

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

overflow

val overflow: RemoteTextOverflow

How visual overflow should be handled.

textAlign

val textAlign: RemoteTextAlign?

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