StackGenVis: Alignment of Data, Algorithms, and Models for Stacking Ensemble Learning Using Performance Metrics https://doi.org/10.1109/TVCG.2020.3030352
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.
 
 
 
 
StackGenVis/frontend/node_modules/svg-path-bounds
Angelos Chatzimparmpas f521a3509d paper-version 4 years ago
..
node_modules/normalize-svg-path paper-version 4 years ago
.eslintrc.json paper-version 4 years ago
.npmignore paper-version 4 years ago
.travis.yml paper-version 4 years ago
index.js paper-version 4 years ago
package.json paper-version 4 years ago
readme.md paper-version 4 years ago
test.js paper-version 4 years ago

readme.md

svg-path-bounds Build Status

Retrieve bounding box from svg path data.

Usage

npm install svg-path-bounds

const getBounds = require('svg-path-bounds')

let [left, top, right, bottom] = getBounds('M0 0L10 10 20 0Z')

API

bounds = getBounds(path|segments)

Calculate bounding box for svg path data string or parsed path segments array. The box is detected by controlling points, not the real path.

Similar

License

MIT © Dima Yv