Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sariskaio/sariska-annotation-sdk
https://github.com/sariskaio/sariska-annotation-sdk
Last synced: 6 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/sariskaio/sariska-annotation-sdk
- Owner: SariskaIO
- Created: 2024-02-10T19:46:12.000Z (9 months ago)
- Default Branch: master
- Last Pushed: 2024-02-10T20:30:40.000Z (9 months ago)
- Last Synced: 2024-02-11T20:38:09.204Z (9 months ago)
- Language: JavaScript
- Size: 65.4 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Import Canvas Component to any file at the top of the element, over which you want to draw something.
```
Import {Canvas} from 'sariska-annotation-sdk';const MyComponent=() => {
return(
)
}
```You can replace the div element with any Image, Iframe, Slide or any other element.
You can pass following attributes for the Canvas:```
width: number
height: number
color: string
lineWidth: number
zIndex: number
```