VerticalOrigin

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


Properties:
Name Type Description
CENTER Number The origin is at the vertical center between BASELINE and TOP.
BOTTOM Number The origin is at the bottom of the object.
BASELINE Number If the object contains text, the origin is at the baseline of the text, else the origin is at the bottom of the object.
TOP Number The origin is at the top of the object.
See:

Members

static constant Cesium.VerticalOrigin.BASELINE : Number

If the object contains text, the origin is at the baseline of the text, else the origin is at the bottom of the object.
Default Value: 2

static constant Cesium.VerticalOrigin.BOTTOM : Number

The origin is at the bottom of the object.
Default Value: 1

static constant Cesium.VerticalOrigin.CENTER : Number

The origin is at the vertical center between BASELINE and TOP.

static constant Cesium.VerticalOrigin.TOP : Number

The origin is at the top of the object.
Default Value: -1