🌈 Create new beautiful Compose Gradients with our new wesite ->
Class

PlaceholderVerticalAlign

The settings used to specify how a placeholder is vertically aligned within a text line.

Source set: Common
public class PlaceholderVerticalAlign internal constructor(@Suppress("unused") private val value: Int)

The settings used to specify how a placeholder is vertically aligned within a text line.

Members

Companion

Source set: Common
public companion object

Properties

AboveBaseline

Source set: Common
public val AboveBaseline: PlaceholderVerticalAlign

Align the bottom of the placeholder with the baseline.

Top

Source set: Common
public val Top: PlaceholderVerticalAlign

Align the top of the placeholder with the top of the entire line.

Bottom

Source set: Common
public val Bottom: PlaceholderVerticalAlign

Align the bottom of the placeholder with the bottom of the entire line.

Center

Source set: Common
public val Center: PlaceholderVerticalAlign

Align the center of the placeholder with the center of the entire line.

TextTop

Source set: Common
public val TextTop: PlaceholderVerticalAlign

Align the top of the placeholder with the top of the proceeding text. It is different from the Top when there are texts with different font size, font or other styles in the same line. This option will use the proceeding text's top instead of the whole line's top.

TextBottom

Source set: Common
public val TextBottom: PlaceholderVerticalAlign

Align the bottom of the placeholder with the bottom of the proceeding text. It is different from the TextBottom when there are texts with different font size, font or other styles in the same line. This option will use the proceeding text's bottom instead of the whole line's bottom.

TextCenter

Source set: Common
public val TextCenter: PlaceholderVerticalAlign

Align the center of the placeholder with the center of the proceeding text. It is different from the Center when there are texts with different font size, font or other styles in the same line. This option will use the proceeding text's center instead of the whole line's center.