PlaceholderVerticalAlign.Companion
object PlaceholderVerticalAlign.Companion
Summary
Public properties |
|
---|---|
PlaceholderVerticalAlign |
Align the bottom of the placeholder with the baseline. |
PlaceholderVerticalAlign |
Align the bottom of the placeholder with the bottom of the entire line. |
PlaceholderVerticalAlign |
Align the center of the placeholder with the center of the entire line. |
PlaceholderVerticalAlign |
Align the bottom of the placeholder with the bottom of the proceeding text. |
PlaceholderVerticalAlign |
Align the center of the placeholder with the center of the proceeding text. |
PlaceholderVerticalAlign |
Align the top of the placeholder with the top of the proceeding text. |
PlaceholderVerticalAlign |
Align the top of the placeholder with the top of the entire line. |
Public properties
AboveBaseline
val AboveBaseline: PlaceholderVerticalAlign
Align the bottom of the placeholder with the baseline.
Bottom
val Bottom: PlaceholderVerticalAlign
Align the bottom of the placeholder with the bottom of the entire line.
Center
val Center: PlaceholderVerticalAlign
Align the center of the placeholder with the center of the entire line.
TextBottom
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
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.
TextTop
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.
Top
val Top: PlaceholderVerticalAlign
Align the top of the placeholder with the top of the entire line.