Module com.github.weisj.jsvg
Enum Class DefaultFilterChannel
- All Implemented Interfaces:
FilterChannelKey
,Serializable
,Comparable<DefaultFilterChannel>
,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
Nested classes/interfaces inherited from interface com.github.weisj.jsvg.attributes.filter.FilterChannelKey
FilterChannelKey.StringKey
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSame as BackgroundImage except only the alpha channel is used.This keyword represents an image snapshot of the SVG document under the filter region at the time that theelement was invoked. This keyword represents the value of the fill property on the target element for the filter effect.Uses the result of the preceding filter or SourceGraphic if this is the first filter.This keyword represents the graphics elements that were the original input into theelement. This keyword represents the graphics elements that were the original input into theelement. This keyword represents the value of the stroke property on the target element for the filter effect. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull Object
key()
static DefaultFilterChannel
Returns the enum constant of this class with the specified name.static DefaultFilterChannel[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SourceGraphic
This keyword represents the graphics elements that were the original input into theelement. -
SourceAlpha
This keyword represents the graphics elements that were the original input into theelement. SourceAlpha has all the same rules as SourceGraphic except that 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 theelement was invoked. -
BackgroundAlpha
Same as BackgroundImage except only the alpha channel is used. -
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
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
Uses the result of the preceding filter or SourceGraphic if this is the first filter.
-
-
Constructor Details
-
DefaultFilterChannel
private DefaultFilterChannel()
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
key
- Specified by:
key
in interfaceFilterChannelKey
-