Class FeGaussianBlur

All Implemented Interfaces:
FilterPrimitive, SVGNode

  • Field Details

    • TAG

      public static final String TAG
      See Also:
    • SQRT_2_PI

      private static final double SQRT_2_PI
    • THREE_QUARTER_SQRT_2_PI

      private static final double THREE_QUARTER_SQRT_2_PI
    • KERNEL_PRECISION

      private static final float KERNEL_PRECISION
      See Also:
    • BOX_BLUR_APPROXIMATION_THRESHOLD

      private static final double BOX_BLUR_APPROXIMATION_THRESHOLD
      See Also:
    • stdDeviation

      private float[] stdDeviation
    • edgeMode

      private EdgeMode edgeMode
    • xCurrent

      private double xCurrent
    • yCurrent

      private double yCurrent
    • xBlur

      private Kernel xBlur
    • yBlur

      private Kernel yBlur
    • onlyAlpha

      private boolean onlyAlpha
  • Constructor Details

    • FeGaussianBlur

      public FeGaussianBlur()
  • Method Details

    • tagName

      @NotNull public @NotNull String tagName()
    • build

      public void build(@NotNull @NotNull AttributeNode attributeNode)
      Specified by:
      build in interface SVGNode
      Overrides:
      build in class AbstractFilterPrimitive
    • setOnlyAlpha

      @Internal public void setOnlyAlpha(boolean onlyAlpha)
    • computeAbsoluteStdDeviation

      private double[] computeAbsoluteStdDeviation(@Nullable @Nullable AffineTransform at)
    • layoutFilter

      public void layoutFilter(@NotNull @NotNull RenderContext context, @NotNull @NotNull FilterLayoutContext filterLayoutContext)
    • applyFilter

      public void applyFilter(@NotNull @NotNull RenderContext context, @NotNull @NotNull FilterContext filterContext)
    • createConvolveKernel

      @NotNull private @NotNull Kernel createConvolveKernel(int diameter, double sigma, boolean horizontal)
    • normalConvolve

      private static float normalConvolve(float x, double standardDeviation)
    • computeGaussianKernelData

      private static float[] computeGaussianKernelData(int diameter, double standardDeviation)
    • kernelDiameterForStandardDeviation

      public static int kernelDiameterForStandardDeviation(double standardDeviation)