textAnchor property

dynamic textAnchor
final

Part of the text placed closest to the anchor.

Type: enum default: center Options: "center" The center of the text is placed closest to the anchor. "left" The left side of the text is placed closest to the anchor. "right" The right side of the text is placed closest to the anchor. "top" The top of the text is placed closest to the anchor. "bottom" The bottom of the text is placed closest to the anchor. "top-left" The top left corner of the text is placed closest to the anchor. "top-right" The top right corner of the text is placed closest to the anchor. "bottom-left" The bottom left corner of the text is placed closest to the anchor. "bottom-right" The bottom right corner of the text is placed closest to the anchor.

Sdk Support: basic functionality with js, android, ios, macos data-driven styling with js, android, ios, macos

Implementation

final dynamic textAnchor;