You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 18, 2026. It is now read-only.
SVGs can be parsed and rendered by this library as well. To draw an SVG on screen, first initialize a new SVGFile (new SVGFile("svg source here", renderWidth, renderHeight)), then draw it on the hud (svgFile.render(matrixStack, x, y, width, height)).
Notes
The SVGFile class pre-renders the SVG into a texture, to cache it for future renders. This also means, that the resulting image might appear pixelated when resized beyond the initial dimensions given to the constructor.