public static enum RenderingHintsBuilder.TextAntialias extends Enum<RenderingHintsBuilder.TextAntialias>
| 枚举常量和说明 |
|---|
DEFAULT
使用平台默认的文本抗锯齿模式呈现文本
|
GASP
自动的使用字体中的信息决定是否使用抗锯齿或使用实心颜色
|
LCD_HBGR
针对LCD显示器优化文本显示LCD_HBGR
|
LCD_HRGB
针对LCD显示器优化文本显示LCD_HRGB
|
LCD_VBGR
针对LCD显示器优化文本显示LCD_VBGR
|
LCD_VRGB
针对LCD显示器优化文本显示LCD_VRGB
|
OFF
不使用抗锯齿呈现文本
|
ON
使用抗锯齿呈现文本
|
| 限定符和类型 | 方法和说明 |
|---|---|
Object |
getValue()
获取值
|
static RenderingHintsBuilder.TextAntialias |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static RenderingHintsBuilder.TextAntialias[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
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 - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public Object getValue()
Copyright © 2024. All rights reserved.