Home
Categories
Dictionnary
Download
Project Details
FAQ
License

Filters support


The following filters are supported in the library [1] :
  • feFlood: This filter primitive creates a rectangle filled with color and opacity values
  • feImage: This filter primitive refers to a graphic external to this filter element
  • feGaussianBlur: This filter primitive performs a Gaussian blur on the input image
  • feDiffuseLighting: This filter primitive lights an image using the alpha channel as a bump map. The resulting image depends on the light color, light position and surface geometry of the input bump map.
  • feSpecularLighting: This filter primitive lights a source graphic using the alpha channel as a bump map. The resulting image depends on the light color, light position and surface geometry of the input bump map
  • feDropShadow: This filter creates a drop shadow of the input image. Note that it is a filter specified in SVG 1.2[2]
  • feOffset: This filter primitive offsets the input image relative to its current position in the image space by the specified vector.
  • feMerge: This filter primitive composites input image layers on top of each other
  • feComposite: This filter performs the combination of the two input images pixel-wise in image space using one of the Porter-Duff compositing operations

Supported lights

The following lights elements are supported under the feDiffuseLighting and feSpecularLighting elements:
  • feDistantLight
  • fePointLight
  • feSpotLight

Limitations

  • For the moment, the light effects are not correctly handled in a some of the cases
  • A lot of the Porter-Duff compositing operations used in the feComposite filter are not converted correctly to the JavaFX equivalent

Notes


Categories: fromsvgsupport

Copyright 2021-2022 Herve Girod. All Rights Reserved. Documentation and source under the BSD-3-Clause License