@aurigma/design-atoms
Version:
Design Atoms is a part of Customer's Canvas SDK which allows for manipulating individual design elements through your code.
43 lines • 1.62 kB
JavaScript
/**
* Specifies possible values for alignment of viewport.
*/
export var ViewportAlignment;
(function (ViewportAlignment) {
/**
* Viewport is positioned in the middle of the bottom side.
*/
ViewportAlignment[ViewportAlignment["centerBottom"] = 5] = "centerBottom";
/**
* Viewport is positioned in the center of the viewer.
*/
ViewportAlignment[ViewportAlignment["centerCenter"] = 4] = "centerCenter";
/**
* Viewport is positioned in the middle of the top side.
*/
ViewportAlignment[ViewportAlignment["centerTop"] = 3] = "centerTop";
/**
* Viewport is positioned in the left bottom corner.
*/
ViewportAlignment[ViewportAlignment["leftBottom"] = 2] = "leftBottom";
/**
* Viewport is positioned in the middle of the left side.
*/
ViewportAlignment[ViewportAlignment["leftCenter"] = 1] = "leftCenter";
/**
* Viewport is positioned in the left top corner.
*/
ViewportAlignment[ViewportAlignment["leftTop"] = 0] = "leftTop";
/**
* Viewport is positioned in the right bottom corner.
*/
ViewportAlignment[ViewportAlignment["rightBottom"] = 8] = "rightBottom";
/**
* Viewport is positioned in the middle of the right side.
*/
ViewportAlignment[ViewportAlignment["rightCenter"] = 7] = "rightCenter";
/**
* Viewport is positioned in the right top corner.
*/
ViewportAlignment[ViewportAlignment["rightTop"] = 6] = "rightTop";
})(ViewportAlignment || (ViewportAlignment = {}));
//# sourceMappingURL=ViewportAlignment.js.map