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
public companion object
Properties
AboveBaseline
public val AboveBaseline: PlaceholderVerticalAlign
Align the bottom of the placeholder with the baseline.
Top
public val Top: PlaceholderVerticalAlign
Align the top of the placeholder with the top of the entire line.
Bottom
public val Bottom: PlaceholderVerticalAlign
Align the bottom of the placeholder with the bottom of the entire line.
Center
public val Center: PlaceholderVerticalAlign
Align the center of the placeholder with the center of the entire line.
TextTop
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
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
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.