@antv/g-plugin-canvas-picker
A G plugin for picking in canvas
Last updated 3 years ago by panyuqi .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ gnpm install @antv/g-plugin-canvas-picker 
SYNC missed versions from official npm registry.

@antv/g-plugin-canvas-picker

基于 Canvas2D API 实现的拾取:

  1. 使用 R-Tree 空间索引查找拾取点命中的一系列图形包围盒
  2. 在这些图形中找到最顶层的一个图形,依据 z-index
  3. 使用数学计算精确判定是否命中该图形,例如 Circle 测算到圆心距离是否小于半径

该方案基于 CPU,因此优化点在于包围盒相交运算是否足够快。

Current Tags

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

153 Versions

  • 1.8.45                                ...           2 years ago
  • 1.8.44                                ...           2 years ago
  • 1.8.43                                ...           2 years ago
  • 1.8.42                                ...           2 years ago
  • 1.8.41                                ...           2 years ago
  • 1.8.40                                ...           2 years ago
  • 1.8.39                                ...           2 years ago
  • 1.8.38                                ...           2 years ago
  • 1.8.37                                ...           2 years ago
  • 1.8.36                                ...           2 years ago
  • 1.8.35                                ...           2 years ago
  • 1.8.34                                ...           2 years ago
  • 1.8.34-alpha.0                                ...           2 years ago
  • 1.8.33                                ...           2 years ago
  • 1.8.32                                ...           2 years ago
  • 1.8.31                                ...           2 years ago
  • 1.8.30                                ...           2 years ago
  • 1.8.29                                ...           2 years ago
  • 1.8.28                                ...           2 years ago
  • 1.8.27                                ...           2 years ago
  • 1.8.26                                ...           2 years ago
  • 1.8.25                                ...           2 years ago
  • 1.8.24                                ...           2 years ago
  • 1.8.23                                ...           2 years ago
  • 1.8.22                                ...           2 years ago
  • 1.8.21                                ...           2 years ago
  • 1.8.20                                ...           2 years ago
  • 1.8.19                                ...           2 years ago
  • 1.8.18                                ...           2 years ago
  • 1.8.17                                ...           2 years ago
  • 1.8.16                                ...           2 years ago
  • 1.8.15                                ...           2 years ago
  • 1.8.14                                ...           2 years ago
  • 1.8.13                                ...           2 years ago
  • 1.8.12                                ...           2 years ago
  • 1.8.11                                ...           2 years ago
  • 1.8.10                                ...           2 years ago
  • 1.8.9                                ...           2 years ago
  • 1.8.8                                ...           2 years ago
  • 1.8.7                                ...           2 years ago
  • 1.8.6                                ...           2 years ago
  • 1.8.5                                ...           2 years ago
  • 1.8.4                                ...           2 years ago
  • 1.8.3                                ...           2 years ago
  • 1.8.2                                ...           2 years ago
  • 1.8.1                                ...           2 years ago
  • 1.8.0                                ...           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.17                                ...           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.32                                ...           3 years ago
  • 1.0.0-alpha.31                                ...           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.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
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (3)
Dev Dependencies (4)
Dependents (1)

Copyright 2013 - present © cnpmjs.org | Home |