All Downloads are FREE. Search and download functionalities are using the official Maven repository.

main.cesium.VerticalOrigin.kt Maven / Gradle / Ivy

// Automatically generated - do not modify!

package cesium

/**
 * 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.
 * @see Online Documentation
 */

@JsName("\$cesium__VerticalOrigin")
external object /* enum */ VerticalOrigin {

    /**
     * The origin is at the vertical center between `BASELINE` and `TOP`.
     */
    val CENTER: VerticalOrigin

    /**
     * The origin is at the bottom of the object.
     */
    val BOTTOM: VerticalOrigin

    /**
     * If the object contains text, the origin is at the baseline of the text, else the origin is at the bottom of the object.
     */
    val BASELINE: VerticalOrigin

    /**
     * The origin is at the top of the object.
     */
    val TOP: VerticalOrigin
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy