UNPKG

tapspace

Version:

A zoomable user interface lib for web apps

19 lines (16 loc) 255 B
const Size = require('../Size') module.exports = function () { // @Circle:getSize() // // Get circle dimensions. // // Return // a Size // const d = this.circle.r * 2 return new Size(this.basis, { w: d, h: d, d: 0 }) }