org.freedesktop.cairo

Class SubpixelOrder

public class SubpixelOrder 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.SubpixelOrder. As this package was never correctly implemented in java-gnome 2.x, any new code written will likely have a considerably different public API.

The subpixel order specifies the order of color elements within each pixel on the display device when rendering with an antialiasing mode of SUBPIXEL.
Field Summary
static SubpixelOrderBGR
Subpixel elements are arranged horizontally with blue at the left
static SubpixelOrderDEFAULT
Use the default subpixel order for for the target device
static SubpixelOrderRGB
Subpixel elements are arranged horizontally with red at the left
static SubpixelOrderVBGR
Subpixel elements are arranged vertically with blue at the top
static SubpixelOrderVRGB
Subpixel elements are arranged vertically with red at the top
Method Summary
static SubpixelOrderintern(int value)
booleantest(SubpixelOrder other)

Field Detail

BGR

public static final SubpixelOrder BGR

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.

Subpixel elements are arranged horizontally with blue at the left

DEFAULT

public static final SubpixelOrder 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 subpixel order for for the target device

RGB

public static final SubpixelOrder RGB

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.

Subpixel elements are arranged horizontally with red at the left

VBGR

public static final SubpixelOrder VBGR

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.

Subpixel elements are arranged vertically with blue at the top

VRGB

public static final SubpixelOrder VRGB

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.

Subpixel elements are arranged vertically with red at the top

Method Detail

intern

public static SubpixelOrder intern(int value)

test

public boolean test(SubpixelOrder other)