java.lang.Object
java.lang.Enum<RenderHintsBuilder.TextAntialias>
org.miaixz.bus.extra.image.RenderHintsBuilder.TextAntialias
- All Implemented Interfaces:
Serializable,Comparable<RenderHintsBuilder.TextAntialias>,Constable
- Enclosing class:
RenderHintsBuilder
Text anti-aliasing options.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionRender text using the platform's default anti-aliasing mode.Automatically decide whether to use anti-aliasing or solid colors based on font information.Optimize text display for LCD screens with HBGR subpixel layout.Optimize text display for LCD screens with HRGB subpixel layout.Optimize text display for LCD screens with VBGR subpixel layout.Optimize text display for LCD screens with VRGB subpixel layout.Render text without anti-aliasing.Render text with anti-aliasing. -
Method Summary
Modifier and TypeMethodDescriptiongetValue()Gets the value.Returns the enum constant of this class with the specified name.static RenderHintsBuilder.TextAntialias[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ON
Render text with anti-aliasing. -
OFF
Render text without anti-aliasing. -
DEFAULT
Render text using the platform's default anti-aliasing mode. -
GASP
Automatically decide whether to use anti-aliasing or solid colors based on font information. -
LCD_HRGB
Optimize text display for LCD screens with HRGB subpixel layout. -
LCD_HBGR
Optimize text display for LCD screens with HBGR subpixel layout. -
LCD_VRGB
Optimize text display for LCD screens with VRGB subpixel layout. -
LCD_VBGR
Optimize text display for LCD screens with VBGR subpixel layout.
-
-
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
Gets the value.- Returns:
- The value.
-