textAnchor

fun textAnchor(value: String)

Sets the text-anchor attribute of the text, which defines the alignment of the text relative to its starting point.

Parameters

value

The text anchor value (e.g., "start", "middle", "end").