Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 612 Bytes

README.md

File metadata and controls

32 lines (22 loc) · 612 Bytes

FEngine 是 AntV F 系列可视化引擎的底层渲染引擎,为移动端提供了一套完整的渲染、事件、动画能力,能方便的构建可视化 UI

快速开始

const { props } = (
  <Canvas context={context}>
    <rect style={{ width: 10, height: 10, fill: 'red' }} />
  </Canvas>
);

const canvas = new Canvas(props);
await canvas.render();

本地开发

# 安装依赖 (推荐用 yarn)
$ yarn

# 先执行下 build
$ npm run build

# 通过单测调试
$ npm run test-watch 'packages/f-engine/test/canvas/index.test.tsx'

License

MIT license.