* @function Bounds.prototype.getHeight * @description 获取 bounds 的高度。 * @example * var bounds = new Bounds(-180,-90,100,80); * //height = 170; * var height = bounds.getHeight(); * @returns {number} 边界高度(top 减去 bottom)。
()
| 206 | * @returns {number} 边界高度(top 减去 bottom)。 |
| 207 | */ |
| 208 | getHeight() { |
| 209 | return (this.top - this.bottom); |
| 210 | } |
| 211 | |
| 212 | /** |
| 213 | * @function Bounds.prototype.getSize |
no outgoing calls
no test coverage detected