Enums

TextAnchor

Where a text's position sits vertically on its lines.

Enum enum pins

TextAnchor says which part of a Text sits at its position, vertically. In the property inspector, it's a drop-down list.

Values

topmiddlebaselinebottom

Notes

  • baseline (the default): the baseline of the first line, the line the letters stand on.
  • top: the top of the first line, so the text hangs below the position.
  • middle: the middle of all the lines together.
  • bottom: the bottom of the last line, so the text sits above the position.
© 2026 Wirepaint