PlaceholderVerticalAlign


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

See also
Placeholder

Summary

Public companion properties

PlaceholderVerticalAlign

Align the bottom of the placeholder with the baseline.

Cmn
PlaceholderVerticalAlign

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

Cmn
PlaceholderVerticalAlign

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

Cmn
PlaceholderVerticalAlign

Align the bottom of the placeholder with the bottom of the proceeding text.

Cmn
PlaceholderVerticalAlign

Align the center of the placeholder with the center of the proceeding text.

Cmn
PlaceholderVerticalAlign

Align the top of the placeholder with the top of the proceeding text.

Cmn
PlaceholderVerticalAlign

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

Cmn

Public functions

open String
Cmn

Public companion properties

AboveBaseline

val AboveBaselinePlaceholderVerticalAlign

Align the bottom of the placeholder with the baseline.

Bottom

val BottomPlaceholderVerticalAlign

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

Center

val CenterPlaceholderVerticalAlign

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

TextBottom

val TextBottomPlaceholderVerticalAlign

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

val TextCenterPlaceholderVerticalAlign

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.

TextTop

val TextTopPlaceholderVerticalAlign

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.

Top

val TopPlaceholderVerticalAlign

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

Public functions

toString

open fun toString(): String