drawing-caiman-lib
v1.0.103
Published
Drawing-Lib for caiman nms
Downloads
11
Readme
drawing-caiman-gogi
Figure-creator for caiman nms
Install
npm install --save drawing-caiman
Usage
//for Figure Creation use
import React, { Component } from 'react'
import { Closure } from 'drawing-caiman'
const props = {
interactive: true,
dimensions: {
width: 750,
height: 500
},
inputs: {
top: [],
left: [10],
right: [2, 12, 5, 7]
}
}
class Example extends Component {
render() {
return <Closure {...props} />
}
}
// for Figure Creation use
import React, { Component } from 'react'
import { Figure } from 'drawing-caiman'
const props = {
formType: 'CROSS',
size:20,
color: 'red'
}
class Example extends Component {
render() {
return <Figure {...props} />
}
}
## License
MIT © [LevonHarutyunyan](https://github.com/Levon0228)