Sha256: 8fea8b7846b809204726b253651ce67ed1cc14ebd9208bbb8babb54f58b35ca4

Contents?: true

Size: 1.09 KB

Versions: 9

Compression:

Stored size: 1.09 KB

Contents

/*global define*/
define(['Core/Enumeration'], function(Enumeration) {
    "use strict";

    /**
     * The vertical location of an origin relative to an object, e.g., a {@link Billboard}.
     * For example, the vertical origin is used to display a billboard above or below (in
     * screen space) of the actual position.
     *
     * @exports VerticalOrigin
     *
     * @see Billboard#setVerticalOrigin
     */
    var VerticalOrigin = {
        /**
         * The origin is at the vertical center of the object.
         *
         * @type {Enumeration}
         * @constant
         * @default 0
         */
        CENTER : new Enumeration(0, 'CENTER'),
        /**
         * The origin is at the bottom of the object.
         *
         * @type {Enumeration}
         * @constant
         * @default 1
         */
        BOTTOM : new Enumeration(1, 'BOTTOM'),
        /**
         * The origin is at the top of the object.
         *
         * @type {Enumeration}
         * @constant
         * @default -1
         */
        TOP : new Enumeration(-1, 'TOP')
    };

    return VerticalOrigin;
});

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
cesium-0.25.0 app/assets/javascripts/Scene/VerticalOrigin.js
cesium-0.24.1 app/assets/javascripts/Scene/VerticalOrigin.js
cesium-0.24.0 app/assets/javascripts/Scene/VerticalOrigin.js
cesium-0.23.0 app/assets/javascripts/Scene/VerticalOrigin.js
cesium-0.22.0 app/assets/javascripts/Scene/VerticalOrigin.js
cesium-0.21.1 app/assets/javascripts/Scene/VerticalOrigin.js
cesium-0.21 app/assets/javascripts/Scene/VerticalOrigin.js
cesium-0.20.0 app/assets/javascripts/Scene/VerticalOrigin.js
cesium-0.19.0 app/assets/javascripts/Scene/VerticalOrigin.js