/** * The horizontal location of an origin relative to an object, e.g., a {@link Billboard} * or {@link Label}. For example, setting the horizontal origin to LEFT * or RIGHT will display a billboard to the left or right (in screen space) * of the anchor position. *

*
*
*
* * @enum {number} * * @see Billboard#horizontalOrigin * @see Label#horizontalOrigin */ const HorizontalOrigin = { /** * The origin is at the horizontal center of the object. * * @type {number} * @constant */ CENTER: 0, /** * The origin is on the left side of the object. * * @type {number} * @constant */ LEFT: 1, /** * The origin is on the right side of the object. * * @type {number} * @constant */ RIGHT: -1, }; export default Object.freeze(HorizontalOrigin);