Defines a horizontal line to be drawn on Remote Compose text.

Summary

Public companion properties

RemoteTextDecoration

Draws a horizontal line over the text.

android
RemoteTextDecoration

Do not draw a decoration.

android
RemoteTextDecoration

Draws a horizontal line below the text.

android

Public functions

operator Boolean

Check whether this RemoteTextDecoration contains the given other decoration.

android
operator RemoteTextDecoration

Creates a decoration that includes all the decorations in both this and decoration.

android
open String
android

Public companion properties

LineThrough

val LineThrough: RemoteTextDecoration

Draws a horizontal line over the text.

None

val None: RemoteTextDecoration

Do not draw a decoration.

Underline

val Underline: RemoteTextDecoration

Draws a horizontal line below the text.

Public functions

contains

operator fun contains(other: RemoteTextDecoration): Boolean

Check whether this RemoteTextDecoration contains the given other decoration.

Returns
Boolean

true if this decoration includes all decorations in other, false otherwise

plus

operator fun plus(decoration: RemoteTextDecoration): RemoteTextDecoration

Creates a decoration that includes all the decorations in both this and decoration.

Returns
RemoteTextDecoration

a RemoteTextDecoration combining this decoration and decoration

toString

open fun toString(): String