Text Glyph Anchoring

In the documentation I found this:

Position within the bounding box of this glyph to which x and y coordinates are anchored to. This can be a named anchor point like top_left or center , or a percentage from from left to right and top to bottom, or a combination of those, independently in width and height. If set to auto , then anchor point will be determined from text align and baseline .

I’ve always used the named anchor points, but I would like to use the percentages for a specific case I have. What is the format for this?

I couldn’t find any documentation/examples which use the percentage method for anchoring text.

After playing around a bit, I figured out it’s a tuple:

anchor = (0.5, 0.5) is equivalent to center_center, for example