Skip to content

Conversation

Aarebecca
Copy link
Contributor

image

Graph

image

Export

  • toDataURL 支持导出全图模式

  • toDataURL support export overall mode

@Aarebecca
Copy link
Contributor Author

部分截图更新的原因:全图包围盒计算采用 getRenderBounds,和旧 getBounds 的区别是:

  • getRenderBounds 受以下样式属性影响:lineWidth, shadowBlur, filter
  • getBounds 不受上述属性影响

@Aarebecca Aarebecca force-pushed the refactor/to-data-url branch from cbeebf5 to c2c15e2 Compare April 16, 2024 08:12
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Apr 16, 2024
@Aarebecca Aarebecca merged commit 65425ea into v5 Apr 16, 2024
@Aarebecca Aarebecca deleted the refactor/to-data-url branch April 16, 2024 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm This PR has been approved by a maintainer refactor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants