File:UIElementSettings.js
(function() {
"use strict";
/**
* The UI Item Settings which is the positioning settings used to adjust each element
* @module cloudkid
* @class UIElementSettings
*/
var UIElementSettings = function(){};
// Reference to the prototype
var p = UIElementSettings.prototype = {};
/**
* What vertical screen location the item should be aligned to: "top", "center", "bottom"
* @property {String} vertAlign
*/
p.vertAlign = null;
/**
* What horizontal screen location the item should be aligned to: "left", "center", "right"
* @property {String} horiAlign
*/
p.horiAlign = null;
/**
* If this element should be aligned to the title safe area, not the actual screen
* @property {Boolean} titleSafe
* @default false
*/
p.titleSafe = false;
/**
* Maximum scale allowed in physical size
* @property {Number} maxScale
* @default 1
*/
p.maxScale = 1;
/**
* Minimum scale allowed in physical size
* @property {Number} minScale
* @default 1
*/
p.minScale = 1;
/**
* If the UI element is centered horizontally
* @property {Boolean} centeredHorizontally
* @default false
*/
p.centeredHorizontally = false;
namespace('cloudkid').UIElementSettings = UIElementSettings;
}());