@antv/g-plugin-canvas-renderer
A G plugin of renderer implementation with Canvas2D API
Last updated 2 years ago by panyuqi .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ gnpm install @antv/g-plugin-canvas-renderer 
SYNC missed versions from official npm registry.

@antv/g-plugin-canvas-renderer

使用 CanvasRenderingContext2D 绘制各类图形。

包含了两个插件:

  1. CanvasRendererPlugin 实现了以下 hook:

    1. beginFrame 保存上下文,如果开启了脏矩形渲染,创建脏矩形对应的 clip rect 并擦除
    2. renderFrame 绘制各个图形,如果开启了脏矩形渲染,仅在该区域内重绘
    3. endFrame 恢复上下文
  2. LoadImagePlugin 负责加载图片,实现了以下 hook:

    1. mounted Image 图形首次进入画布,异步加载包含的图片
    2. attributeChanged 如果 Image 图形的图片地址发生改变,重新加载图片

Current Tags

  • 1.7.52                                ...           latest (2 years ago)
  • 1.1.8-alpha.1                                ...           next (2 years ago)

159 Versions

  • 1.7.52                                ...           2 years ago
  • 1.7.51                                ...           2 years ago
  • 1.7.50                                ...           2 years ago
  • 1.7.49                                ...           2 years ago
  • 1.7.48                                ...           2 years ago
  • 1.7.47                                ...           2 years ago
  • 1.7.46                                ...           2 years ago
  • 1.7.45                                ...           2 years ago
  • 1.7.44                                ...           2 years ago
  • 1.7.43                                ...           2 years ago
  • 1.7.42                                ...           2 years ago
  • 1.7.41                                ...           2 years ago
  • 1.7.40                                ...           2 years ago
  • 1.7.39                                ...           2 years ago
  • 1.7.39-alpha.0                                ...           2 years ago
  • 1.7.38                                ...           2 years ago
  • 1.7.37                                ...           2 years ago
  • 1.7.36                                ...           2 years ago
  • 1.7.35                                ...           2 years ago
  • 1.7.34                                ...           2 years ago
  • 1.7.33                                ...           2 years ago
  • 1.7.32                                ...           2 years ago
  • 1.7.31                                ...           2 years ago
  • 1.7.30                                ...           2 years ago
  • 1.7.29                                ...           2 years ago
  • 1.7.28                                ...           2 years ago
  • 1.7.27                                ...           2 years ago
  • 1.7.26                                ...           2 years ago
  • 1.7.25                                ...           2 years ago
  • 1.7.24                                ...           2 years ago
  • 1.7.23                                ...           2 years ago
  • 1.7.22                                ...           2 years ago
  • 1.7.21                                ...           2 years ago
  • 1.7.20                                ...           2 years ago
  • 1.7.19                                ...           2 years ago
  • 1.7.18                                ...           2 years ago
  • 1.7.17                                ...           2 years ago
  • 1.7.16                                ...           2 years ago
  • 1.7.15                                ...           2 years ago
  • 1.7.14                                ...           2 years ago
  • 1.7.13                                ...           2 years ago
  • 1.7.12                                ...           2 years ago
  • 1.7.11                                ...           2 years ago
  • 1.7.10                                ...           2 years ago
  • 1.7.9                                ...           2 years ago
  • 1.7.8                                ...           2 years ago
  • 1.7.7                                ...           2 years ago
  • 1.7.6                                ...           2 years ago
  • 1.7.5                                ...           2 years ago
  • 1.7.4                                ...           2 years ago
  • 1.7.3                                ...           2 years ago
  • 1.7.2                                ...           2 years ago
  • 1.7.1                                ...           2 years ago
  • 1.7.0                                ...           2 years ago
  • 1.6.4                                ...           2 years ago
  • 1.6.3                                ...           2 years ago
  • 1.6.2                                ...           2 years ago
  • 1.6.1                                ...           2 years ago
  • 1.6.0                                ...           2 years ago
  • 1.6.0-alpha.0                                ...           2 years ago
  • 1.5.3                                ...           2 years ago
  • 1.5.2                                ...           2 years ago
  • 1.5.1                                ...           2 years ago
  • 1.5.0                                ...           2 years ago
  • 1.4.0                                ...           2 years ago
  • 1.3.1                                ...           2 years ago
  • 1.3.0                                ...           2 years ago
  • 1.2.3                                ...           2 years ago
  • 1.2.2                                ...           2 years ago
  • 1.2.1                                ...           2 years ago
  • 1.2.0                                ...           2 years ago
  • 1.1.8                                ...           2 years ago
  • 1.1.8-alpha.1                                ...           2 years ago
  • 1.1.8-alpha.0                                ...           2 years ago
  • 1.1.7                                ...           3 years ago
  • 1.1.6                                ...           3 years ago
  • 1.1.5                                ...           3 years ago
  • 1.1.4                                ...           3 years ago
  • 1.1.3                                ...           3 years ago
  • 1.1.3-alpha.1                                ...           3 years ago
  • 1.1.3-alpha.0                                ...           3 years ago
  • 1.1.2                                ...           3 years ago
  • 1.1.1                                ...           3 years ago
  • 1.1.0                                ...           3 years ago
  • 1.0.21                                ...           3 years ago
  • 1.0.20                                ...           3 years ago
  • 1.0.20-alpha.16                                ...           3 years ago
  • 1.0.20-alpha.15                                ...           3 years ago
  • 1.0.20-alpha.14                                ...           3 years ago
  • 1.0.20-alpha.13                                ...           3 years ago
  • 1.0.20-alpha.12                                ...           3 years ago
  • 1.0.20-alpha.11                                ...           3 years ago
  • 1.0.20-alpha.10                                ...           3 years ago
  • 1.0.20-alpha.9                                ...           3 years ago
  • 1.0.20-alpha.8                                ...           3 years ago
  • 1.0.20-alpha.7                                ...           3 years ago
  • 1.0.20-alpha.6                                ...           3 years ago
  • 1.0.20-alpha.4                                ...           3 years ago
  • 1.0.20-alpha.2                                ...           3 years ago
  • 1.0.20-alpha.0                                ...           3 years ago
  • 1.0.19                                ...           3 years ago
  • 1.0.19-alpha.2                                ...           3 years ago
  • 1.0.19-alpha.1                                ...           3 years ago
  • 1.0.19-alpha.0                                ...           3 years ago
  • 1.0.18                                ...           3 years ago
  • 1.0.16                                ...           3 years ago
  • 1.0.15                                ...           3 years ago
  • 1.0.14                                ...           3 years ago
  • 1.0.13                                ...           3 years ago
  • 1.0.12                                ...           3 years ago
  • 1.0.11                                ...           3 years ago
  • 1.0.10                                ...           3 years ago
  • 1.0.9                                ...           3 years ago
  • 1.0.8                                ...           3 years ago
  • 1.0.7                                ...           3 years ago
  • 1.0.6                                ...           3 years ago
  • 1.0.5                                ...           3 years ago
  • 1.0.4                                ...           3 years ago
  • 1.0.3                                ...           3 years ago
  • 1.0.2                                ...           3 years ago
  • 1.0.1                                ...           3 years ago
  • 1.0.0-alpha.38                                ...           3 years ago
  • 1.0.0-alpha.37                                ...           3 years ago
  • 1.0.0-alpha.36                                ...           3 years ago
  • 1.0.0-alpha.35                                ...           3 years ago
  • 1.0.0-alpha.34                                ...           3 years ago
  • 1.0.0-alpha.33                                ...           3 years ago
  • 1.0.0-alpha.32                                ...           3 years ago
  • 1.0.0-alpha.30                                ...           3 years ago
  • 1.0.0-alpha.29                                ...           3 years ago
  • 1.0.0-alpha.28                                ...           3 years ago
  • 1.0.0-alpha.27                                ...           3 years ago
  • 1.0.0-alpha.26                                ...           3 years ago
  • 1.0.0-alpha.25                                ...           3 years ago
  • 1.0.0-alpha.24                                ...           3 years ago
  • 1.0.0-alpha.23                                ...           3 years ago
  • 1.0.0-alpha.22                                ...           3 years ago
  • 1.0.0-alpha.21                                ...           3 years ago
  • 1.0.0-alpha.20                                ...           3 years ago
  • 1.0.0-alpha.19                                ...           3 years ago
  • 1.0.0-alpha.18                                ...           3 years ago
  • 1.0.0-alpha.17                                ...           3 years ago
  • 1.0.0-alpha.16                                ...           3 years ago
  • 1.0.0-alpha.15                                ...           3 years ago
  • 1.0.0-alpha.14                                ...           3 years ago
  • 1.0.0-alpha.13                                ...           3 years ago
  • 1.0.0-alpha.12                                ...           3 years ago
  • 1.0.0-alpha.11                                ...           3 years ago
  • 1.0.0-alpha.10                                ...           3 years ago
  • 1.0.0-alpha.9                                ...           3 years ago
  • 1.0.0-alpha.8                                ...           3 years ago
  • 1.0.0-alpha.7                                ...           3 years ago
  • 1.0.0-alpha.6                                ...           3 years ago
  • 1.0.0-alpha.5                                ...           3 years ago
  • 1.0.0-alpha.4                                ...           3 years ago
  • 1.0.0-alpha.3                                ...           3 years ago
  • 1.0.0-alpha.2                                ...           3 years ago
  • 1.0.0-alpha.1                                ...           3 years ago
  • 1.0.0-alpha.0                                ...           4 years ago

Copyright 2013 - present © cnpmjs.org | Home |