Class

RemoteTextDecoration

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

Source set: JvmAndAndroid
public class RemoteTextDecoration internal constructor(internal val mask: Int)

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

Functions

plus

Source set: JvmAndAndroid
public operator fun plus(decoration: RemoteTextDecoration): RemoteTextDecoration

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

Return

a RemoteTextDecoration combining this decoration and decoration

contains

Source set: JvmAndAndroid
public operator fun contains(other: RemoteTextDecoration): Boolean

Check whether this RemoteTextDecoration contains the given other decoration.

Return

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

toString

Source set: JvmAndAndroid
override fun toString(): String

Members

Companion

Source set: JvmAndAndroid
public companion object

Properties

None

Source set: JvmAndAndroid
@Stable public val None: RemoteTextDecoration = RemoteTextDecoration(0x0)

Do not draw a decoration.

Underline

Source set: JvmAndAndroid
@Stable public val Underline: RemoteTextDecoration = RemoteTextDecoration(0x1)

Draws a horizontal line below the text.

LineThrough

Source set: JvmAndAndroid
@Stable public val LineThrough: RemoteTextDecoration = RemoteTextDecoration(0x2)

Draws a horizontal line over the text.

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: