org.freedesktop.cairo

Class Antialias


public class Antialias
extends Enum

Specifies the type of antialiasing to do when rendering text.

Field Summary

static Antialias
DEFAULT
Use the default antialiasing for the font subsystem and target device
static Antialias
GRAY
Perform single-color antialiasing (using shades of gray for black text on a white background, for example).
static Antialias
NONE
Do no antialiasing of fonts; use bilevel text.
static Antialias
SUBPIXEL
Perform antialiasing by taking advantage of the order of subpixel elements on devices such as LCD panels

Method Summary

static Antialias
intern(int value)
boolean
test(Antialias other)

Field Details

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 Details

intern

public static Antialias intern(int value)

test

public boolean test(Antialias other)