All Implemented Interfaces:
Container<SVGNode>, SVGNode

  • Field Details

    • LOGGER

      private static final Logger LOGGER
    • TAG

      public static final String TAG
      See Also:
    • DEFAULT_FILTER_COORDINATE

      private static final Length DEFAULT_FILTER_COORDINATE
    • DEFAULT_FILTER_SIZE

      private static final Length DEFAULT_FILTER_SIZE
    • NO_CLIP_BOUNDS

      private static final Rectangle2D.Double NO_CLIP_BOUNDS
    • x

      private Length x
    • y

      private Length y
    • width

      private Length width
    • height

      private Length height
    • filterUnits

      private UnitType filterUnits
    • filterPrimitiveUnits

      private UnitType filterPrimitiveUnits
    • colorInterpolation

      private ColorInterpolation colorInterpolation
    • isValid

      private boolean isValid
  • 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(@Nullable @Nullable 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.