org.freedesktop.cairo

Class Antialias

public class Antialias extends Enum

Deprecated: This class is part of the java-gnome 2.x family of libraries, which, due to their inefficiency and complexity, are no longer being maintained and have been abandoned by the java-gnome project. This class may exist in java-gnome 4.0; look out for org.freedesktop.cairo.Antialias. As this package was never correctly implemented in java-gnome 2.x, any new code written will likely have a considerably different public API.

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

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 Detail

intern

public static Antialias intern(int value)

test

public boolean test(Antialias other)