Enum DefaultFilterChannel

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      BackgroundAlpha
      Same as BackgroundImage except only the alpha channel is used.
      BackgroundImage
      This keyword represents an image snapshot of the SVG document under the filter region at the time that the element was invoked.
      FillPaint
      This keyword represents the value of the fill property on the target element for the filter effect.
      LastResult
      Uses the result of the preceding filter or SourceGraphic if this is the first filter.
      SourceAlpha
      This keyword represents the graphics elements that were the original input into the element.
      SourceGraphic
      This keyword represents the graphics elements that were the original input into the element.
      StrokePaint
      This keyword represents the value of the stroke property on the target element for the filter effect.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      @NotNull java.lang.Object key()  
      static DefaultFilterChannel valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static DefaultFilterChannel[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • SourceGraphic

        public static final DefaultFilterChannel SourceGraphic
        This keyword represents the graphics elements that were the original input into the element.
      • SourceAlpha

        public static final DefaultFilterChannel SourceAlpha
        This keyword represents the graphics elements that were the original input into the element. SourceAlpha has all the same rules as SourceGraphic except that only the alpha channel is used.
      • BackgroundImage

        public static final DefaultFilterChannel BackgroundImage
        This keyword represents an image snapshot of the SVG document under the filter region at the time that the element was invoked.
      • BackgroundAlpha

        public static final DefaultFilterChannel BackgroundAlpha
        Same as BackgroundImage except only the alpha channel is used.
      • FillPaint

        public static final DefaultFilterChannel FillPaint
        This keyword represents the value of the fill property on the target element for the filter effect. In many cases, the FillPaint is opaque everywhere, but that might not be the case if a shape is painted with a gradient or pattern which itself includes transparent or semi-transparent parts.
      • StrokePaint

        public static final DefaultFilterChannel StrokePaint
        This keyword represents the value of the stroke property on the target element for the filter effect. In many cases, the StrokePaint is opaque everywhere, but that might not be the case if a shape is painted with a gradient or pattern which itself includes transparent or semi-transparent parts.
      • LastResult

        public static final DefaultFilterChannel LastResult
        Uses the result of the preceding filter or SourceGraphic if this is the first filter.
    • Constructor Detail

      • DefaultFilterChannel

        private DefaultFilterChannel()
    • Method Detail

      • values

        public static DefaultFilterChannel[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (DefaultFilterChannel c : DefaultFilterChannel.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static DefaultFilterChannel valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • key

        @NotNull
        public @NotNull java.lang.Object key()
        Specified by:
        key in interface FilterChannelKey