TextAnchor
API reference › HTML SVG › Values › TextAnchor
Represents literal string values for the SVG text-anchor attribute.
Provides the keyword values used by the text-anchor attribute.
See also: Text::textAnchor().
| Case | Value | Description |
|---|---|---|
END | 'end' | end - Text is aligned such that the end of the text is at the initial current text position. |
MIDDLE | 'middle' | middle - Text is aligned such that the middle of the text is at the initial current text position. |
START | 'start' | start - Text is aligned such that the start of the text is at the initial current text position. |