Skip to content

TextVerticalAlign

namespace Griff.Scenes;
public enum TextVerticalAlign

Where the lines of text sit up and down relative to its entity’s position.

  • Middle = 0: Centered on the entity: more lines grow up and down from it.
  • Top = 1: The first line’s top at the entity, the rest hanging below it: a page, a log, a contract.
  • Bottom = 2: The last line’s bottom at the entity, more lines pushing the rest up: a chat, a feed.