TextAnchorMiddleCenter
TextAnchorMiddleCenter is a property or setting commonly found in graphical user interface (GUI) toolkits and game development engines. It defines the alignment of text relative to a specific anchor point, specifically placing the horizontal and vertical center of the text at that anchor. This means that if you designate a point as the anchor, the text will be positioned so that its geometric center is precisely on that point.
When TextAnchorMiddleCenter is applied, the text block expands outwards equally in all four directions from the
Contrast this with other text anchor settings, such as TopLeft (where the top-left corner of the text