Skip navigation links
com.raspoid.additionalcomponents.camera

Enum ImageEffect

    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.String getValue()
      Get the value corresponding to this ImageEffect.
      static ImageEffect valueOf(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static ImageEffect[] 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

      • NONE

        public static final ImageEffect NONE
        NO effect (default).
      • NEGATIVE

        public static final ImageEffect NEGATIVE
        Negate the image.
      • SOLARISE

        public static final ImageEffect SOLARISE
        Solarise the image.
      • POSTERISE

        public static final ImageEffect POSTERISE
        Posterise the image.
      • WHITEBOARD

        public static final ImageEffect WHITEBOARD
        Whiteboard effect.
      • BLACKBOARD

        public static final ImageEffect BLACKBOARD
        Blackboard effect.
      • SKETCH

        public static final ImageEffect SKETCH
        Sketch style effect.
      • DENOISE

        public static final ImageEffect DENOISE
        Denoise the image.
      • EMBOSS

        public static final ImageEffect EMBOSS
        Emboss the image.
      • OILPAINT

        public static final ImageEffect OILPAINT
        Apply an oil paint style effect.
      • HATCH

        public static final ImageEffect HATCH
        Hatch sketch style.
      • PASTEL

        public static final ImageEffect PASTEL
        A pastel style effect.
      • WATERCOLOUR

        public static final ImageEffect WATERCOLOUR
        A watercolour style effect.
      • FILM

        public static final ImageEffect FILM
        Film grain style effect.
      • BLUR

        public static final ImageEffect BLUR
        Blur the image.
      • SATURATION

        public static final ImageEffect SATURATION
        Colour saturate the image.
    • Method Detail

      • values

        public static ImageEffect[] 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 (ImageEffect c : ImageEffect.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ImageEffect 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
      • getValue

        public java.lang.String getValue()
        Get the value corresponding to this ImageEffect.
        Returns:
        the command line option value corresponding to this image effect.