jsvg
jsvg copied to clipboard
Java SVG renderer
clip-n-mask.svg: ```xml ``` ```java import java.io.File; import java.awt.Color; import java.awt.Graphics2D; import java.awt.RenderingHints; import java.awt.geom.Dimension2D; import java.awt.image.BufferedImage; import javax.imageio.ImageIO; import com.github.weisj.jsvg.SVGDocument; import com.github.weisj.jsvg.SVGRenderingHints; import com.github.weisj.jsvg.parser.SVGLoader; public class JSVGTest { static boolean...
[`maskUnits`](https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/maskUnits#mask): > For ``, `maskUnits` defines the coordinate system in use for the geometry attributes (`x`, `y`, `width` and `height`) of the element. > > `objectBoundingBox` > > This value...
- [x] feComponentTransfer - feFuncA - feFuncB - feFuncG - feFuncR - [ ] feConvolveMatrix - [ ] feDiffuseLighting - [x] feDropShadow - [ ] feDistantLight - [ ] feImage...
Collect all `` elements and expose them through a wrapper which knows hot to paint them appropriately.
In SVG 2.0 all means of defining a colour available in css has to be supported by svg. This includes the `hsl` and `hsla` methods.
https://www.w3.org/TR/SVG2/struct.html#UnknownElement
For the most part this doesn't make that much of a difference. However for `feColorMatrix` the difference is very much noticeable. Fixing this might also make gaussian blurs more closely...
````xml ```` Should result in a round blurred red dot in the lower right of the orange square. Currently the red part is only round on the top left as...
These elements should inherit the attributes of their ancestor at declaration site - not the element they are used on. Most real world svgs don’t seem to make use of...
Hello, I am reaching out to suggest a feature for the JSVG library that I believe would be beneficial for JavaFX applications, particularly those that aim to achieve native packaging....