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
Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.
static Antialias
GRAY
Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.
static Antialias
NONE
Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.
static Antialias
SUBPIXEL
Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.

Method Summary

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

Field Details

DEFAULT

public static final Antialias DEFAULT

Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.

Use the default antialiasing for the font subsystem and target device

GRAY

public static final Antialias GRAY

Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.

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

NONE

public static final Antialias NONE

Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.

Do no antialiasing of fonts; use bilevel text.

SUBPIXEL

public static final Antialias SUBPIXEL

Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.

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)