public static enum RenderingHintsBuilder.TextAntialias extends Enum<RenderingHintsBuilder.TextAntialias>
Enum Constant and Description |
---|
DEFAULT
使用平台默认的文本抗锯齿模式呈现文本
|
GASP
自动的使用字体中的信息决定是否使用抗锯齿或使用实心颜色
|
LCD_HBGR
针对LCD显示器优化文本显示LCD_HBGR
|
LCD_HRGB
针对LCD显示器优化文本显示LCD_HRGB
|
LCD_VBGR
针对LCD显示器优化文本显示LCD_VBGR
|
LCD_VRGB
针对LCD显示器优化文本显示LCD_VRGB
|
OFF
不使用抗锯齿呈现文本
|
ON
使用抗锯齿呈现文本
|
Modifier and Type | Method and Description |
---|---|
Object |
getValue()
获取值
|
static RenderingHintsBuilder.TextAntialias |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RenderingHintsBuilder.TextAntialias[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RenderingHintsBuilder.TextAntialias ON
public static final RenderingHintsBuilder.TextAntialias OFF
public static final RenderingHintsBuilder.TextAntialias DEFAULT
public static final RenderingHintsBuilder.TextAntialias GASP
public static final RenderingHintsBuilder.TextAntialias LCD_HRGB
public static final RenderingHintsBuilder.TextAntialias LCD_HBGR
public static final RenderingHintsBuilder.TextAntialias LCD_VRGB
public static final RenderingHintsBuilder.TextAntialias LCD_VBGR
public static RenderingHintsBuilder.TextAntialias[] values()
for (RenderingHintsBuilder.TextAntialias c : RenderingHintsBuilder.TextAntialias.values()) System.out.println(c);
public static RenderingHintsBuilder.TextAntialias valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic Object getValue()
Copyright © 2025. All rights reserved.