Enum Class RenderingHintsBuilder.Interpolation

java.lang.Object
java.lang.Enum<RenderingHintsBuilder.Interpolation>
org.miaixz.bus.extra.image.RenderingHintsBuilder.Interpolation
All Implemented Interfaces:
Serializable, Comparable<RenderingHintsBuilder.Interpolation>, Constable
Enclosing class:
RenderingHintsBuilder

public static enum RenderingHintsBuilder.Interpolation extends Enum<RenderingHintsBuilder.Interpolation>
内插 在对一个源图像做变形时,变形后的像素很少能够恰好对应目标像素位置。 在这种情况下,每个变形后的像素的颜色值不得不由周围的像素决定。内插就是实现上述过程。
See Also:
  • Enum Constant Details

  • Method Details

    • values

      public static RenderingHintsBuilder.Interpolation[] 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

      public static RenderingHintsBuilder.Interpolation valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getValue

      public Object getValue()
      获取值
      Returns: