Package org.miaixz.bus.extra.image
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:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptiongetValue()获取值Returns the enum constant of this class with the specified name.static RenderingHintsBuilder.Interpolation[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BICUBIC
双三次插值 -
BILINEAR
双线性插值 -
NEAREST_NEIGHBOR
最近邻插值
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getValue
获取值- Returns:
- 值
-