@okee-uikit/render
v0.2.0
Published
a fast lightweight 2d graphic library
Downloads
4
Maintainers
Keywords
Readme
OKee Render
English | 简体中文
Features
- Both svg and canvas renderer support with same API
- Good performance with large amount of data
- Cross platform suppprt with web、node、mini-program
- Support interpolation animation, and path animation
- Support start and end arrows on path
- Virutal dom update with transition animation
- Rich-text component
Install
npm install @okee-uikit/render
Usage
<div id="container" style="width: 600px;height: 480px"></div>
import { Render, Rect } from '@okee-uikit/render'
const or = new Render(document.getElementById('container'))
or.add(new Rect({
x: 0,
y: 0,
width: 100,
height: 100,
fill: 'red'
}))
License
MIT licensed