VerticalAlignment
How text is vertically aligned within its layout area.
読み終わるまでの所要時間 1 分最終更新 4日前
Definition
- Type: Enum
- Namespace: UnityEngine.TextCore
- Assembly: UnityEngine.TextCoreTextEngineModule
public enum VerticalAlignment
Fields
Value | Description |
|---|---|
| Baseline | The baseline of the first line is centered vertically within the layout area. |
| Bottom | Text is aligned to the bottom of the layout area. |
| Capline | The middle of the first line's cap height is centered vertically within the layout area. |
| Middle | Text is centered vertically within the layout area. |
| Midline | The glyph geometry is centered vertically within the layout area. |
| Top | Text is aligned to the top of the layout area. |