Skip to content
PHP Ecosystem
Explore

TextAnchor

API reference › HTML SVG › Values › TextAnchor

enumUIAwesome\Html\Svg\Values\TextAnchor
Backed bystring
Sourcesrc/Values/TextAnchor.php

Represents literal string values for the SVG text-anchor attribute.

Provides the keyword values used by the text-anchor attribute.

See also: Text::textAnchor().

CaseValueDescription
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.