We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
getBBox
<svg id="svg-root" viewBox="0 0 480 360" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18"> <defs> <marker id="testMarker"> <rect width="96" height="96" fill="blue" /> </marker> </defs> <path d="m 0 0 L 0 0" stroke-width="25" marker-end="url(#testMarker)" /> <line x1="0" x2="0" y1="100" y2="100" stroke-width="25" marker-end="url(#testMarker)" /> </g> </svg>
height: 2500 width: 2400
Expect to be consistent with innerBBox
innerBBox
height: 175 width: 75
This relies on the upstream resvg to resolve.
The text was updated successfully, but these errors were encountered:
The getBBox method doesn't seem to exist in @resvg/resvg-js:2.0.1 in npm, When are you planning to release it? Thx
Sorry, something went wrong.
@zyq666 Yes, getBBox is not yet released, and I expect to release a new version as soon as this weekend.
@zyq666 The getBBox() API has been released in 2.1.0. https://github.com/yisibl/resvg-js/releases/tag/v2.1.0
getBBox()
No branches or pull requests
getBBox
Expect to be consistent with
innerBBox
This relies on the upstream resvg to resolve.
The text was updated successfully, but these errors were encountered: