org.freedesktop.cairo

Class Antialias

public class Antialias extends Enum

Specifies the type of antialiasing to do when rendering text.
Field Summary
static AntialiasDEFAULT
Use the default antialiasing for the font subsystem and target device
static AntialiasGRAY
Perform single-color antialiasing (using shades of gray for black text on a white background, for example).
static AntialiasNONE
Do no antialiasing of fonts; use bilevel text.
static AntialiasSUBPIXEL
Perform antialiasing by taking advantage of the order of subpixel elements on devices such as LCD panels
Method Summary
static Antialiasintern(int value)
booleantest(Antialias other)

Field Detail

DEFAULT

public static final Antialias DEFAULT
Use the default antialiasing for the font subsystem and target device

GRAY

public static final Antialias GRAY
Perform single-color antialiasing (using shades of gray for black text on a white background, for example).

NONE

public static final Antialias NONE
Do no antialiasing of fonts; use bilevel text.

SUBPIXEL

public static final Antialias SUBPIXEL
Perform antialiasing by taking advantage of the order of subpixel elements on devices such as LCD panels

Method Detail

intern

public static Antialias intern(int value)

test

public boolean test(Antialias other)