Enum EdgeMode

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<EdgeMode>

    public enum EdgeMode
    extends java.lang.Enum<EdgeMode>
    • Enum Constant Detail

      • Duplicate

        public static final EdgeMode Duplicate
      • Wrap

        public static final EdgeMode Wrap
      • None

        public static final EdgeMode None
    • Constructor Detail

      • EdgeMode

        private EdgeMode()
    • 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 name
        java.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)
      • 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)