You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
572 B
38 lines
572 B
// Copyright 2015 Yahoo! Inc.
|
|
// Copyrights licensed under the Mit License. See the accompanying LICENSE file for terms.
|
|
|
|
var Rect = require('../atoms/rect');
|
|
|
|
/**
|
|
* @class ViewPort
|
|
* @extends Rect
|
|
* @module Configuration
|
|
* @submodule Structure
|
|
*/
|
|
var ViewPort = Rect.extend(
|
|
|
|
/**
|
|
* View-port constructor
|
|
*
|
|
* @param {object} options
|
|
* @constructor
|
|
*/
|
|
function (options) {
|
|
this.__super(options);
|
|
},
|
|
|
|
{
|
|
},
|
|
|
|
{
|
|
/**
|
|
* @property TYPE
|
|
* @type {string}
|
|
* @static
|
|
*/
|
|
TYPE: 'CONFIGURATION_STRUCTURE_VIEWPORT'
|
|
}
|
|
);
|
|
|
|
module.exports = ViewPort;
|