Companion

Properties

Link copied to clipboard

左对齐。

Link copied to clipboard
const val LEFT_VALUE: Int = 0

左对齐的原始值。

Link copied to clipboard

居中对齐。

Link copied to clipboard
const val MIDDLE_VALUE: Int = 1

居中的原始值。

Link copied to clipboard

右对齐。

Link copied to clipboard
const val RIGHT_VALUE: Int = 2

右对齐的原始值。

Functions

Link copied to clipboard
fun of(value: Int): Alignment

根据任意值构建 Alignment。