Enum Class DefaultFilterChannel

java.lang.Object
java.lang.Enum<DefaultFilterChannel>
com.github.weisj.jsvg.attributes.filter.DefaultFilterChannel
All Implemented Interfaces:
FilterChannelKey, Serializable, Comparable<DefaultFilterChannel>, Constable

public enum DefaultFilterChannel extends Enum<DefaultFilterChannel> implements FilterChannelKey
  • Enum Constant Details

    • 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 Details

    • DefaultFilterChannel

      private DefaultFilterChannel()
  • Method Details

    • values

      public static DefaultFilterChannel[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static DefaultFilterChannel valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • key

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