Package org.miaixz.bus.extra.image
Enum Class RenderingHintsBuilder.TextAntialias
java.lang.Object
java.lang.Enum<RenderingHintsBuilder.TextAntialias>
org.miaixz.bus.extra.image.RenderingHintsBuilder.TextAntialias
- All Implemented Interfaces:
Serializable,Comparable<RenderingHintsBuilder.TextAntialias>,Constable
- Enclosing class:
RenderingHintsBuilder
public static enum RenderingHintsBuilder.TextAntialias
extends Enum<RenderingHintsBuilder.TextAntialias>
文本抗锯齿选项
- 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.TextAntialias[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ON
使用抗锯齿呈现文本 -
OFF
不使用抗锯齿呈现文本 -
DEFAULT
使用平台默认的文本抗锯齿模式呈现文本 -
GASP
自动的使用字体中的信息决定是否使用抗锯齿或使用实心颜色 -
LCD_HRGB
针对LCD显示器优化文本显示LCD_HRGB -
LCD_HBGR
针对LCD显示器优化文本显示LCD_HBGR -
LCD_VRGB
针对LCD显示器优化文本显示LCD_VRGB -
LCD_VBGR
针对LCD显示器优化文本显示LCD_VBGR
-
-
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:
- 值
-