@antv/g-mobile
A mobile canvas library which providing 2d
Last updated a month ago by openwayne .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @antv/g-mobile 
SYNC missed versions from official npm registry.

English | 简体中文

g-mobile

npm package npm downloads Percentage of issues still open

  • A canvas library which providing 2d draw for AntV.

✨ Features

  • Powerful and scalable rendering capability with built-in basic Graphics.
  • Excellent rendering performance and supports visualization scenarios with large amounts of data.
  • Complete simulation of mobile/browser DOM events, and no difference from native events.
  • Smooth animation implementation and rich configuration interfaces.

???? Install

$ npm install @antv/g-mobile --save

???? Usage

<div id="c1"></div>
import { Canvas } from '@antv/g-mobile';

const canvas = new Canvas({
  container: 'c1',
  width: 500,
  height: 500,
});

const group = canvas.addGroup();
group.addShape('circle', {
  attrs: {
    x: 100,
    y: 100,
    r: 50,
    fill: 'red',
    stroke: 'blue',
    lineWidth: 5,
  },
});

Current Tags

  • 0.0.1-beta.18                                ...           beta (5 months ago)
  • 0.0.12                                ...           latest (a month ago)

26 Versions

  • 0.0.12                                ...           a month ago
  • 0.0.11                                ...           a month ago
  • 0.0.9                                ...           3 months ago
  • 0.0.8                                ...           3 months ago
  • 0.0.7                                ...           3 months ago
  • 0.0.6                                ...           4 months ago
  • 0.0.5                                ...           4 months ago
  • 0.0.3                                ...           4 months ago
  • 0.0.2                                ...           5 months ago
  • 0.0.1-beta.18                                ...           5 months ago
  • 0.0.1-beta.17                                ...           5 months ago
  • 0.0.1-beta.16                                ...           5 months ago
  • 0.0.1-beta.15                                ...           5 months ago
  • 0.0.1-beta.14                                ...           5 months ago
  • 0.0.1-beta.13                                ...           5 months ago
  • 0.0.1-beta.12                                ...           5 months ago
  • 0.0.1-beta.11                                ...           6 months ago
  • 0.0.1-beta.10                                ...           6 months ago
  • 0.0.1-beta.9                                ...           6 months ago
  • 0.0.1-beta.8                                ...           6 months ago
  • 0.0.1-beta.7                                ...           6 months ago
  • 0.0.1-beta.6                                ...           6 months ago
  • 0.0.1-beta.5                                ...           6 months ago
  • 0.0.1-beta.4                                ...           6 months ago
  • 0.0.1-beta.3                                ...           6 months ago
  • 0.0.1-beta.2                                ...           6 months ago
Downloads
Today 0
This Week 0
This Month 46
Last Day 0
Last Week 10
Last Month 112
Dependencies (11)
Dev Dependencies (9)

Copyright 2014 - 2017 © taobao.org |