Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Supply missing method for G 4.0 #295

Closed
13 tasks done
dengfuping opened this issue Dec 6, 2019 · 3 comments
Closed
13 tasks done

Supply missing method for G 4.0 #295

dengfuping opened this issue Dec 6, 2019 · 3 comments
Labels

Comments

@dengfuping
Copy link
Member

dengfuping commented Dec 6, 2019

  • Path
  • Line
  • Polyline
  • Group
    • getChildByIndex(index)
    • contain(element)
    • removeChild(element, destroy=true)
@baizn
Copy link
Contributor

baizn commented Dec 6, 2019

后面缺少的我补充到这里:

  • getStartTangent
  • getEndTangent

@dengfuping
Copy link
Member Author

GraphEvent 中缺少 canvasX 和 canvasY 属性,表示 Canvas 坐标,用户时候时不需要在单独计算。

  • 修改画布导致的坐标变换,目前 G 这一层没有做处理。G6 原先是自行处理的,可以讨论下是否在 G 4.0 中支持。@dxq613

@dengfuping
Copy link
Member Author

  • @baizn 缺失方法已全部提供,更新到最新版 @antv/g-canvas@0.3.3 即可。

openwayne pushed a commit to openwayne/g that referenced this issue Jan 18, 2021
openwayne pushed a commit to openwayne/g that referenced this issue Jan 18, 2021
openwayne pushed a commit to openwayne/g that referenced this issue Jan 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants