FontSmoothingType enum is used to specify the preferred
mechanism used to smooth the edges of fonts for on-screen text.
| Modifier and Type | Field and Description |
|---|---|
| public static final FontSmoothingType | GRAY
Specifies the default gray scale smoothing, which is most suitable for graphics and animation uses. |
| public static final FontSmoothingType | LCD
Specifies sub-pixel LCD text, which utilises characteristics of digital LCD display panels to achieve increased pixel resolution. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static FontSmoothingType | |
| public static FontSmoothingType[] |
| GRAY | back to summary |
|---|---|
| public static final FontSmoothingType GRAY Specifies the default gray scale smoothing, which is most suitable for graphics and animation uses. | |
| LCD | back to summary |
|---|---|
| public static final FontSmoothingType LCD Specifies sub-pixel LCD text, which utilises characteristics of digital LCD display panels to achieve increased pixel resolution. This mode is generally appropriate where the important factor is legibility of static text, particularly at small sizes. A request for LCD text is a 'hint', since the implementation may need to ignore it under conditions such as compositing modes which do not support it. It follow that where LCD text is important that the application should avoid use of effects, transparency etc. | |
| FontSmoothingType | back to summary |
|---|---|
| private FontSmoothingType() | |
| valueOf | back to summary |
|---|---|
| public static FontSmoothingType valueOf(String name) | |
| values | back to summary |
|---|---|
| public static FontSmoothingType[] values() | |