文档

Unity Engine

Download Unity

Unity Engine

VerticalAlignment

How text is vertically aligned within its layout area.
阅读时间1 分钟最后更新于 5 天前

Definition

public enum VerticalAlignment

Fields

Value

Description

BaselineThe baseline of the first line is centered vertically within the layout area.
BottomText is aligned to the bottom of the layout area.
CaplineThe middle of the first line's cap height is centered vertically within the layout area.
MiddleText is centered vertically within the layout area.
MidlineThe glyph geometry is centered vertically within the layout area.
TopText is aligned to the top of the layout area.