Enum EdgeMode
- java.lang.Object
-
- java.lang.Enum<EdgeMode>
-
- com.github.weisj.jsvg.attributes.filter.EdgeMode
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
EdgeMode.ConvolveOperation
private static class
EdgeMode.EdgeModeImage
-
Constructor Summary
Constructors Modifier Constructor Description private
EdgeMode()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description private static java.awt.image.ImageProducer
applyConvolutions(@Nullable java.awt.RenderingHints hints, @NotNull java.awt.image.BufferedImage image, @NotNull EdgeMode.ConvolveOperation convolveOperation, int awtEdgeMode)
abstract java.awt.image.ImageProducer
convolve(@NotNull RenderContext context, @NotNull FilterContext filterContext, @NotNull java.awt.image.ImageProducer producer, @NotNull EdgeMode.ConvolveOperation convolveOperation)
private static @NotNull java.awt.image.ImageProducer
convolveDuplicate(@NotNull RenderContext context, @NotNull FilterContext filterContext, @NotNull java.awt.image.ImageProducer producer, @NotNull EdgeMode.ConvolveOperation convolveOperation)
private static java.awt.image.ImageProducer
convolveWrap(@NotNull RenderContext context, @NotNull FilterContext filterContext, @NotNull java.awt.image.ImageProducer producer, @NotNull EdgeMode.ConvolveOperation convolveOperation)
private static EdgeMode.EdgeModeImage
prepareEdgeModeImage(@NotNull RenderContext context, @NotNull java.awt.image.ImageProducer producer, @NotNull EdgeMode.ConvolveOperation convolveOperation)
static EdgeMode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static EdgeMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Method Detail
-
values
public static EdgeMode[] 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 (EdgeMode c : EdgeMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EdgeMode 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 namejava.lang.NullPointerException
- if the argument is null
-
convolve
public abstract java.awt.image.ImageProducer convolve(@NotNull @NotNull RenderContext context, @NotNull @NotNull FilterContext filterContext, @NotNull @NotNull java.awt.image.ImageProducer producer, @NotNull @NotNull EdgeMode.ConvolveOperation convolveOperation)
-
prepareEdgeModeImage
private static EdgeMode.EdgeModeImage prepareEdgeModeImage(@NotNull @NotNull RenderContext context, @NotNull @NotNull java.awt.image.ImageProducer producer, @NotNull @NotNull EdgeMode.ConvolveOperation convolveOperation)
-
convolveDuplicate
@NotNull private static @NotNull java.awt.image.ImageProducer convolveDuplicate(@NotNull @NotNull RenderContext context, @NotNull @NotNull FilterContext filterContext, @NotNull @NotNull java.awt.image.ImageProducer producer, @NotNull @NotNull EdgeMode.ConvolveOperation convolveOperation)
-
convolveWrap
private static java.awt.image.ImageProducer convolveWrap(@NotNull @NotNull RenderContext context, @NotNull @NotNull FilterContext filterContext, @NotNull @NotNull java.awt.image.ImageProducer producer, @NotNull @NotNull EdgeMode.ConvolveOperation convolveOperation)
-
applyConvolutions
private static java.awt.image.ImageProducer applyConvolutions(@Nullable @Nullable java.awt.RenderingHints hints, @NotNull @NotNull java.awt.image.BufferedImage image, @NotNull @NotNull EdgeMode.ConvolveOperation convolveOperation, int awtEdgeMode)
-
-