Source set: JvmAndAndroid
public class RemoteTextAlign internal constructor(internal val value: Int)
Defines how text is aligned horizontally in Remote Compose.
Functions
toString
Source set: JvmAndAndroid
override fun toString(): String
Members
Companion
Source set: JvmAndAndroid
public companion object
Properties
Unspecified
Source set: JvmAndAndroid
@Stable public val Unspecified: RemoteTextAlign = RemoteTextAlign(Int.MIN_VALUE)
Constant for when no text alignment is specified.
Left
Source set: JvmAndAndroid
@Stable public val Left: RemoteTextAlign = RemoteTextAlign(TextLayout.TEXT_ALIGN_LEFT)
Align the text on the left edge of the container.
Right
Source set: JvmAndAndroid
@Stable public val Right: RemoteTextAlign = RemoteTextAlign(TextLayout.TEXT_ALIGN_RIGHT)
Align the text on the right edge of the container.
Center
Source set: JvmAndAndroid
@Stable public val Center: RemoteTextAlign = RemoteTextAlign(TextLayout.TEXT_ALIGN_CENTER)
Align the text in the center of the container.
Justify
Source set: JvmAndAndroid
@Stable public val Justify: RemoteTextAlign = RemoteTextAlign(TextLayout.TEXT_ALIGN_JUSTIFY)
Stretch lines of text that end with a soft line break to fill the container width.
Start
Source set: JvmAndAndroid
@Stable public val Start: RemoteTextAlign = RemoteTextAlign(TextLayout.TEXT_ALIGN_START)
Align the text on the leading edge of the container.
End
Source set: JvmAndAndroid
@Stable public val End: RemoteTextAlign = RemoteTextAlign(TextLayout.TEXT_ALIGN_END)
Align the text on the trailing edge of the container.