text-anchor

text-anchor

The text-anchor attribute is used to align (start-, middle- or end-alignment) a string of text relative to a given point.

The text-anchor attribute is applied to each individual text chunk within a given <text> element. Each text chunk has an initial current text position, which represents the point in the user coordinate system resulting from (depending on context) application of the x and y登录查看完整内容