Enum AntiAliasingMode

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

    public enum AntiAliasingMode
    extends java.lang.Enum<AntiAliasingMode>
    Various antialiasing modes.
    Since:
    100.0.0
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      BEST
      The best quality antialiasing.
      FAST
      Some antialiasing is performed, optimized for speed with better quality than can be achieved with Fastest.
      FASTEST
      Minimal antialiasing is performed, optimized for speed.
      NONE
      No antialiasing is performed.
      NORMAL
      A good balance of speed and quality.
    • Method Summary

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

      • FASTEST

        public static final AntiAliasingMode FASTEST
        Minimal antialiasing is performed, optimized for speed.
      • FAST

        public static final AntiAliasingMode FAST
        Some antialiasing is performed, optimized for speed with better quality than can be achieved with Fastest.
      • NORMAL

        public static final AntiAliasingMode NORMAL
        A good balance of speed and quality.
      • BEST

        public static final AntiAliasingMode BEST
        The best quality antialiasing. This option takes the longest to render.
    • Method Detail

      • values

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

        public static AntiAliasingMode 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