Class Filter

All Implemented Interfaces:
Container<SVGNode>, SVGNode

  • Field Details

  • Constructor Details

    • Filter

      public Filter()
  • Method Details

    • tagName

      @NotNull public @NotNull String tagName()
    • hasEffect

      public boolean hasEffect()
    • build

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

      @Nullable public @Nullable Filter.FilterBounds createFilterBounds(@NotNull @NotNull Output output, @NotNull @NotNull RenderContext context, @NotNull @NotNull ElementBounds elementBounds)
    • applyFilter

      @NotNull public @NotNull BufferedImage applyFilter(@NotNull @NotNull Output output, @NotNull @NotNull RenderContext context, @NotNull @NotNull Filter.FilterInfo filterInfo)
    • acceptChild

      protected boolean acceptChild(@Nullable @Nullable String id, @NotNull @NotNull SVGNode node)
      Description copied from class: BaseContainerNode
      Determine whether the container accepts this SVGNode as a child. By default, this will always report true but subclasses may choose to reject certain types of nodes.
      Overrides:
      acceptChild in class BaseContainerNode<SVGNode>
      Parameters:
      id - the id of the node
      node - the node itself
      Returns:
      whether the node can be inserted as a child.