UNPKG

tapspace

Version:

A zoomable user interface lib for web apps

19 lines (16 loc) 290 B
const Size = require('../Size') module.exports = function () { // @Box:getSize() // // Get box dimensions. // // Return // a Size // // box3 is a size3 (has w,h,d properties) return new Size(this.basis, { w: this.box.w, h: this.box.h, d: this.box.d }) }