import {ObjectBase} from '../../../runtime/common/lang/ObjectBase'; //========================================================== // 渲染视角。 // // @author maocy // @history 141231 //========================================================== export class Viewport extends ObjectBase { public left = 0; public top = 0; public width = 0; public height = 0; //========================================================== // 设置信息。 // // @param left:Number 左边 // @param top:Number 上边 // @param width:Number 宽度 // @param height:Number 高度 //========================================================== public set(left, top, width, height) { this.left = left; this.top = top; this.width = width; this.height = height; } }