Class: VerticalOrigin

VerticalOrigin

new VerticalOrigin()

The vertical position of the origin relative to the object, such as e.g., a Billboard or Label. For example, setting the vertical origin to TOP or BOTTOM will display the anchor position above or below the billboard (in screen space).


See:

Members

(static, constant) BASELINENumber

If the object contains text, the origin is located at the baseline of the text; otherwise, the origin is located at the bottom of the object, with an enumeration value of 2.

(static, constant) BOTTOMNumber

The origin is at the bottom of the object, with an enumeration value of 1

(static, constant) CENTERNumber

The origin is located at the vertical center between BASELLINE and TOP, with an enumeration value of 0.

(static, constant) TOPNumber

The origin is at the top of the object, with an enumeration value of -1.