horizontalOrigin

Gets or sets the horizontal origin of this label, which determines if the label is drawn to the left, center, or right of its anchor position.

// Use a top, right origin
l.horizontalOrigin = HorizontalOrigin.RIGHT;
l.verticalOrigin = VerticalOrigin.TOP;

See also