Class Filter

    • Field Detail

      • LOGGER

        private static final java.util.logging.Logger LOGGER
      • 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 java.awt.geom.Rectangle2D.Double NO_CLIP_BOUNDS
      • height

        private Length height
      • filterUnits

        private UnitType filterUnits
      • filterPrimitiveUnits

        private UnitType filterPrimitiveUnits
      • isValid

        private boolean isValid
    • Constructor Detail

      • Filter

        public Filter()
    • Method Detail

      • tagName

        @NotNull
        public @NotNull java.lang.String tagName()
      • hasEffect

        public boolean hasEffect()
      • applyFilter

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

        protected boolean acceptChild​(@Nullable
                                      @Nullable java.lang.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.